summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r--apps/plugins/rockboy/cpu.c2
-rw-r--r--apps/plugins/rockboy/lcd.c2
-rw-r--r--apps/plugins/rockboy/rockboy.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/cpu.c b/apps/plugins/rockboy/cpu.c
index 6118633899..5c4abc519f 100644
--- a/apps/plugins/rockboy/cpu.c
+++ b/apps/plugins/rockboy/cpu.c
@@ -17,7 +17,7 @@
17#endif 17#endif
18 18
19 19
20struct cpu cpu IDATA_ATTR; 20struct cpu cpu IBSS_ATTR;
21 21
22 22
23 23
diff --git a/apps/plugins/rockboy/lcd.c b/apps/plugins/rockboy/lcd.c
index a8f8c695da..883c4952fc 100644
--- a/apps/plugins/rockboy/lcd.c
+++ b/apps/plugins/rockboy/lcd.c
@@ -15,7 +15,7 @@
15 15
16struct lcd lcd; 16struct lcd lcd;
17 17
18struct scan scan IDATA_ATTR; 18struct scan scan IBSS_ATTR;
19 19
20#define BG (scan.bg) 20#define BG (scan.bg)
21#define WND (scan.wnd) 21#define WND (scan.wnd)
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c
index 90452e55d6..56773879fa 100644
--- a/apps/plugins/rockboy/rockboy.c
+++ b/apps/plugins/rockboy/rockboy.c
@@ -42,6 +42,8 @@ const struct {
42extern char iramcopy[]; 42extern char iramcopy[];
43extern char iramstart[]; 43extern char iramstart[];
44extern char iramend[]; 44extern char iramend[];
45extern char iedata[];
46extern char iend[];
45#endif 47#endif
46 48
47/* here is a global api struct pointer. while not strictly necessary, 49/* here is a global api struct pointer. while not strictly necessary,
@@ -116,6 +118,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
116 118
117#ifdef USE_IRAM 119#ifdef USE_IRAM
118 memcpy(iramstart, iramcopy, iramend-iramstart); 120 memcpy(iramstart, iramcopy, iramend-iramstart);
121 memset(iedata, 0, iend - iedata);
119#endif 122#endif
120 shut=0; 123 shut=0;
121 cleanshut=0; 124 cleanshut=0;