diff options
Diffstat (limited to 'apps/plugins/rockbox_flash.c')
-rw-r--r-- | apps/plugins/rockbox_flash.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c index 4c552622e5..0b713405ed 100644 --- a/apps/plugins/rockbox_flash.c +++ b/apps/plugins/rockbox_flash.c | |||
@@ -23,6 +23,8 @@ | |||
23 | 23 | ||
24 | #if !defined(SIMULATOR) && (CONFIG_CPU == SH7034) /* Only for SH targets */ | 24 | #if !defined(SIMULATOR) && (CONFIG_CPU == SH7034) /* Only for SH targets */ |
25 | 25 | ||
26 | PLUGIN_HEADER | ||
27 | |||
26 | /* define DUMMY if you only want to "play" with the UI, does no harm */ | 28 | /* define DUMMY if you only want to "play" with the UI, does no harm */ |
27 | /* #define DUMMY */ | 29 | /* #define DUMMY */ |
28 | 30 | ||
@@ -1010,10 +1012,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
1010 | { | 1012 | { |
1011 | int oldmode; | 1013 | int oldmode; |
1012 | 1014 | ||
1013 | /* this macro should be called as the first thing you do in the plugin. | ||
1014 | it test that the api version and model the plugin was compiled for | ||
1015 | matches the machine it is running on */ | ||
1016 | TEST_PLUGIN_API(api); | ||
1017 | rb = api; /* copy to global api pointer */ | 1015 | rb = api; /* copy to global api pointer */ |
1018 | 1016 | ||
1019 | if (parameter == NULL) | 1017 | if (parameter == NULL) |