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.c4
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 */
122static struct plugin_api* rb; 122static const struct plugin_api* rb;
123 123
124/* Each position is of this type */ 124/* Each position is of this type */
125typedef struct cmatrix { 125typedef struct cmatrix {
@@ -284,7 +284,7 @@ static void matrix_loop(void)
284 } 284 }
285} 285}
286 286
287enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { 287enum 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;