diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-10-23 00:40:52 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-10-23 20:38:59 -0400 |
commit | d78a37676efbc24ce1d5c46b65c6caf45ff3bc27 (patch) | |
tree | c5c503b402c8fb1ec6dea955b6ac0e561ee879ba /firmware/scroll_engine.c | |
parent | a8aa8403ad5041820229bc41b73dc934b77311ca (diff) | |
download | rockbox-d78a37676efbc24ce1d5c46b65c6caf45ff3bc27.tar.gz rockbox-d78a37676efbc24ce1d5c46b65c6caf45ff3bc27.zip |
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
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*/ | ||