diff options
Diffstat (limited to 'apps/plugins/matrix.c')
-rw-r--r-- | apps/plugins/matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index 33509dc69a..65a4a6b785 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c | |||
@@ -119,7 +119,7 @@ extern const fb_data matrix_normal[]; | |||
119 | #define SLEEP HZ/50 | 119 | #define SLEEP HZ/50 |
120 | 120 | ||
121 | /* Codec api pointer */ | 121 | /* Codec api pointer */ |
122 | static struct plugin_api* rb; | 122 | static const struct plugin_api* rb; |
123 | 123 | ||
124 | /* Each position is of this type */ | 124 | /* Each position is of this type */ |
125 | typedef struct cmatrix { | 125 | typedef struct cmatrix { |
@@ -284,7 +284,7 @@ static void matrix_loop(void) | |||
284 | } | 284 | } |
285 | } | 285 | } |
286 | 286 | ||
287 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { | 287 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { |
288 | int button; | 288 | int button; |
289 | int sleep = SLEEP; | 289 | int sleep = SLEEP; |
290 | bool frozen = false; | 290 | bool frozen = false; |