summaryrefslogtreecommitdiff
path: root/apps/plugins/firmware_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/firmware_flash.c')
-rw-r--r--apps/plugins/firmware_flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c
index f4daab2fcd..6cbb252cd1 100644
--- a/apps/plugins/firmware_flash.c
+++ b/apps/plugins/firmware_flash.c
@@ -126,7 +126,7 @@ typedef struct
126 char name[32]; 126 char name[32];
127} tFlashInfo; 127} tFlashInfo;
128 128
129static struct plugin_api* rb; /* here is a global api struct pointer */ 129static const struct plugin_api* rb; /* here is a global api struct pointer */
130 130
131#define MASK_ADR 0xFC /* position of hardware mask value in Flash */ 131#define MASK_ADR 0xFC /* position of hardware mask value in Flash */
132#define VERSION_ADR 0xFE /* position of firmware version value in Flash */ 132#define VERSION_ADR 0xFE /* position of firmware version value in Flash */
@@ -1072,7 +1072,7 @@ void DoUserDialog(char* filename)
1072 1072
1073/***************** Plugin Entry Point *****************/ 1073/***************** Plugin Entry Point *****************/
1074 1074
1075enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 1075enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
1076{ 1076{
1077 int oldmode; 1077 int oldmode;
1078 1078