diff options
Diffstat (limited to 'firmware/scroll_engine.c')
-rw-r--r-- | firmware/scroll_engine.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c index b584345a9a..91f9d1f868 100644 --- a/firmware/scroll_engine.c +++ b/firmware/scroll_engine.c | |||
@@ -52,7 +52,6 @@ static const char scroll_tick_table[18] = { | |||
52 | }; | 52 | }; |
53 | 53 | ||
54 | static void scroll_thread(void); | 54 | static void scroll_thread(void); |
55 | static char scroll_stack[DEFAULT_STACK_SIZE*3]; | ||
56 | static const char scroll_name[] = "scroll"; | 55 | static const char scroll_name[] = "scroll"; |
57 | 56 | ||
58 | #include "drivers/lcd-scroll.c" | 57 | #include "drivers/lcd-scroll.c" |
@@ -195,8 +194,11 @@ static void scroll_thread(void) | |||
195 | } | 194 | } |
196 | #endif /* HAVE_REMOTE_LCD */ | 195 | #endif /* HAVE_REMOTE_LCD */ |
197 | 196 | ||
197 | |||
198 | #ifndef BOOTLOADER | ||
198 | void scroll_init(void) | 199 | void scroll_init(void) |
199 | { | 200 | { |
201 | static char scroll_stack[DEFAULT_STACK_SIZE*3]; | ||
200 | #ifdef HAVE_REMOTE_LCD | 202 | #ifdef HAVE_REMOTE_LCD |
201 | queue_init(&scroll_queue, true); | 203 | queue_init(&scroll_queue, true); |
202 | #endif | 204 | #endif |
@@ -205,3 +207,9 @@ void scroll_init(void) | |||
205 | IF_PRIO(, PRIORITY_USER_INTERFACE) | 207 | IF_PRIO(, PRIORITY_USER_INTERFACE) |
206 | IF_COP(, CPU)); | 208 | IF_COP(, CPU)); |
207 | } | 209 | } |
210 | #else | ||
211 | void scroll_init(void) | ||
212 | { | ||
213 | /* DUMMY */ | ||
214 | } | ||
215 | #endif /* ndef BOOTLOADER*/ | ||