diff options
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r-- | apps/plugins/jpeg.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index fee24d1082..468f745fba 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -29,6 +29,8 @@ | |||
29 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) | 29 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) |
30 | #include "gray.h" | 30 | #include "gray.h" |
31 | 31 | ||
32 | PLUGIN_HEADER | ||
33 | |||
32 | /* variable button definitions */ | 34 | /* variable button definitions */ |
33 | #if CONFIG_KEYPAD == RECORDER_PAD | 35 | #if CONFIG_KEYPAD == RECORDER_PAD |
34 | #define JPEG_ZOOM_IN BUTTON_PLAY | 36 | #define JPEG_ZOOM_IN BUTTON_PLAY |
@@ -1959,11 +1961,6 @@ int main(char* filename) | |||
1959 | 1961 | ||
1960 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 1962 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) |
1961 | { | 1963 | { |
1962 | /* this macro should be called as the first thing you do in the plugin. | ||
1963 | it test that the api version and model the plugin was compiled for | ||
1964 | matches the machine it is running on */ | ||
1965 | TEST_PLUGIN_API(api); | ||
1966 | |||
1967 | rb = api; /* copy to global api pointer */ | 1964 | rb = api; /* copy to global api pointer */ |
1968 | 1965 | ||
1969 | return main((char*)parameter); | 1966 | return main((char*)parameter); |