diff options
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r-- | apps/plugins/star.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c index 2c4be27c34..fd727fa34b 100644 --- a/apps/plugins/star.c +++ b/apps/plugins/star.c | |||
@@ -328,8 +328,6 @@ static char board[STAR_HEIGHT][STAR_WIDTH]; | |||
328 | static int char_width = -1; | 328 | static int char_width = -1; |
329 | static int char_height = -1; | 329 | static int char_height = -1; |
330 | 330 | ||
331 | static const struct plugin_api* rb; | ||
332 | |||
333 | /* this arrays contains a group of levels loaded into memory */ | 331 | /* this arrays contains a group of levels loaded into memory */ |
334 | static unsigned char* levels = | 332 | static unsigned char* levels = |
335 | "****************\n" | 333 | "****************\n" |
@@ -1116,10 +1114,9 @@ static int star_menu(void) | |||
1116 | /** | 1114 | /** |
1117 | * Main entry point | 1115 | * Main entry point |
1118 | */ | 1116 | */ |
1119 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) | 1117 | enum plugin_status plugin_start(const void* parameter) |
1120 | { | 1118 | { |
1121 | (void)parameter; | 1119 | (void)parameter; |
1122 | rb = api; | ||
1123 | 1120 | ||
1124 | #if LCD_DEPTH > 1 | 1121 | #if LCD_DEPTH > 1 |
1125 | rb->lcd_set_backdrop(NULL); | 1122 | rb->lcd_set_backdrop(NULL); |