diff options
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r-- | apps/plugins/minesweeper.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index 624c807b92..5baaea6812 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c | |||
@@ -28,11 +28,11 @@ use F3 to see how many mines are left (supposing all your flags are correct) | |||
28 | *****************************************************************************/ | 28 | *****************************************************************************/ |
29 | 29 | ||
30 | #include "plugin.h" | 30 | #include "plugin.h" |
31 | #include "button.h" | ||
32 | #include "lcd.h" | ||
33 | 31 | ||
34 | #ifdef HAVE_LCD_BITMAP | 32 | #ifdef HAVE_LCD_BITMAP |
35 | 33 | ||
34 | PLUGIN_HEADER | ||
35 | |||
36 | //what the minesweeper() function can return | 36 | //what the minesweeper() function can return |
37 | #define MINESWEEPER_USB 3 | 37 | #define MINESWEEPER_USB 3 |
38 | #define MINESWEEPER_QUIT 2 | 38 | #define MINESWEEPER_QUIT 2 |
@@ -521,7 +521,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
521 | { | 521 | { |
522 | bool exit = false; | 522 | bool exit = false; |
523 | /* plugin init */ | 523 | /* plugin init */ |
524 | TEST_PLUGIN_API(api); | ||
525 | (void)parameter; | 524 | (void)parameter; |
526 | rb = api; | 525 | rb = api; |
527 | /* end of plugin init */ | 526 | /* end of plugin init */ |