diff options
Diffstat (limited to 'apps/plugins/alpine_cdc.c')
-rw-r--r-- | apps/plugins/alpine_cdc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/alpine_cdc.c b/apps/plugins/alpine_cdc.c index 874f72265e..91cfb0ecdc 100644 --- a/apps/plugins/alpine_cdc.c +++ b/apps/plugins/alpine_cdc.c | |||
@@ -34,6 +34,8 @@ | |||
34 | /* Only build for (correct) target */ | 34 | /* Only build for (correct) target */ |
35 | #if !defined(SIMULATOR) && CONFIG_CPU==SH7034 && !defined(HAVE_MMC) | 35 | #if !defined(SIMULATOR) && CONFIG_CPU==SH7034 && !defined(HAVE_MMC) |
36 | 36 | ||
37 | PLUGIN_HEADER | ||
38 | |||
37 | #ifdef HAVE_LCD_CHARCELLS /* player model */ | 39 | #ifdef HAVE_LCD_CHARCELLS /* player model */ |
38 | #define LINES 2 | 40 | #define LINES 2 |
39 | #define COLUMNS 11 | 41 | #define COLUMNS 11 |
@@ -1192,10 +1194,6 @@ int main(void* parameter) | |||
1192 | 1194 | ||
1193 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 1195 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) |
1194 | { | 1196 | { |
1195 | /* this macro should be called as the first thing you do in the plugin. | ||
1196 | it test that the api version and model the plugin was compiled for | ||
1197 | matches the machine it is running on */ | ||
1198 | TEST_PLUGIN_API(api); | ||
1199 | rb = api; /* copy to global api pointer */ | 1197 | rb = api; /* copy to global api pointer */ |
1200 | 1198 | ||
1201 | /* now go ahead and have fun! */ | 1199 | /* now go ahead and have fun! */ |