diff options
Diffstat (limited to 'apps/plugins/matrix.c')
-rw-r--r-- | apps/plugins/matrix.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index 986eb72e48..a3b0b850d8 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c | |||
@@ -136,9 +136,6 @@ extern const fb_data matrix_normal[]; | |||
136 | 136 | ||
137 | #define SLEEP HZ/50 | 137 | #define SLEEP HZ/50 |
138 | 138 | ||
139 | /* Codec api pointer */ | ||
140 | static const struct plugin_api* rb; | ||
141 | |||
142 | /* Each position is of this type */ | 139 | /* Each position is of this type */ |
143 | typedef struct cmatrix { | 140 | typedef struct cmatrix { |
144 | int val; | 141 | int val; |
@@ -302,13 +299,12 @@ static void matrix_loop(void) | |||
302 | } | 299 | } |
303 | } | 300 | } |
304 | 301 | ||
305 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { | 302 | enum plugin_status plugin_start(const void* parameter) { |
306 | int button; | 303 | int button; |
307 | int sleep = SLEEP; | 304 | int sleep = SLEEP; |
308 | bool frozen = false; | 305 | bool frozen = false; |
309 | 306 | ||
310 | (void)parameter; | 307 | (void)parameter; |
311 | rb = api; | ||
312 | 308 | ||
313 | rb->lcd_set_background(LCD_BLACK); | 309 | rb->lcd_set_background(LCD_BLACK); |
314 | rb->lcd_set_backdrop(NULL); | 310 | rb->lcd_set_backdrop(NULL); |