From d78a37676efbc24ce1d5c46b65c6caf45ff3bc27 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Fri, 23 Oct 2020 00:40:52 -0400 Subject: ClipPlus BOOTLOADER DONT FIT! REMOVED FROM ALL NATIVE BOOTLOADERS: finish removing the text scrolling pare down printf to a minimal subset (%c %s %l %d %u and %x(%p)) remove diacritic and rtl language support GOAL 134000 START 135305 CURRENT 133700 SUCCESS! (ASSUMING IT WORKS -- UNESTED) Change-Id: Ic3f6ac1dc260578f581ee53458b3e5bb47d313ec --- firmware/scroll_engine.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'firmware/scroll_engine.c') 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] = { }; static void scroll_thread(void); -static char scroll_stack[DEFAULT_STACK_SIZE*3]; static const char scroll_name[] = "scroll"; #include "drivers/lcd-scroll.c" @@ -195,8 +194,11 @@ static void scroll_thread(void) } #endif /* HAVE_REMOTE_LCD */ + +#ifndef BOOTLOADER void scroll_init(void) { + static char scroll_stack[DEFAULT_STACK_SIZE*3]; #ifdef HAVE_REMOTE_LCD queue_init(&scroll_queue, true); #endif @@ -205,3 +207,9 @@ void scroll_init(void) IF_PRIO(, PRIORITY_USER_INTERFACE) IF_COP(, CPU)); } +#else +void scroll_init(void) +{ + /* DUMMY */ +} +#endif /* ndef BOOTLOADER*/ -- cgit v1.2.3