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 fee24d1..468f745 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -29,6 +29,8 @@ #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) #include "gray.h" +PLUGIN_HEADER + /* variable button definitions */ #if CONFIG_KEYPAD == RECORDER_PAD #define JPEG_ZOOM_IN BUTTON_PLAY @@ -1959,11 +1961,6 @@ int main(char* filename) enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { - /* this macro should be called as the first thing you do in the plugin. - it test that the api version and model the plugin was compiled for - matches the machine it is running on */ - TEST_PLUGIN_API(api); - rb = api; /* copy to global api pointer */ return main((char*)parameter); |