diff options
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r-- | apps/plugins/splitedit.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index dda46a0f29..28b4de8909 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c | |||
@@ -98,9 +98,6 @@ unsigned char SCALE_BMP[][13] = | |||
98 | #define SE_SAVE 4 | 98 | #define SE_SAVE 4 |
99 | #define SE_COUNT 5 | 99 | #define SE_COUNT 5 |
100 | 100 | ||
101 | /* the global api pointer */ | ||
102 | static const struct plugin_api* rb; | ||
103 | |||
104 | /* contains the file name of the song that is to be split */ | 101 | /* contains the file name of the song that is to be split */ |
105 | static char path_mp3[MAX_PATH]; | 102 | static char path_mp3[MAX_PATH]; |
106 | 103 | ||
@@ -1250,12 +1247,11 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, | |||
1250 | return retval; | 1247 | return retval; |
1251 | } | 1248 | } |
1252 | 1249 | ||
1253 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) | 1250 | enum plugin_status plugin_start(const void* parameter) |
1254 | { | 1251 | { |
1255 | struct mp3entry* mp3; | 1252 | struct mp3entry* mp3; |
1256 | 1253 | ||
1257 | (void)parameter; | 1254 | (void)parameter; |
1258 | rb = api; | ||
1259 | rb->lcd_clear_display(); | 1255 | rb->lcd_clear_display(); |
1260 | rb->lcd_update(); | 1256 | rb->lcd_update(); |
1261 | mp3 = rb->audio_current_track(); | 1257 | mp3 = rb->audio_current_track(); |