summaryrefslogtreecommitdiff
path: root/apps/plugins/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/matrix.c')
-rw-r--r--apps/plugins/matrix.c6
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 */
140static const struct plugin_api* rb;
141
142/* Each position is of this type */ 139/* Each position is of this type */
143typedef struct cmatrix { 140typedef struct cmatrix {
144 int val; 141 int val;
@@ -302,13 +299,12 @@ static void matrix_loop(void)
302 } 299 }
303} 300}
304 301
305enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { 302enum 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);