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/common/diacritic.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/common/diacritic.c')
-rw-r--r-- | firmware/common/diacritic.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/firmware/common/diacritic.c b/firmware/common/diacritic.c index 563028cab8..92c2400203 100644 --- a/firmware/common/diacritic.c +++ b/firmware/common/diacritic.c | |||
@@ -194,7 +194,7 @@ static const struct diac_range diac_ranges[] = | |||
194 | }; | 194 | }; |
195 | 195 | ||
196 | #define MRU_MAX_LEN 32 | 196 | #define MRU_MAX_LEN 32 |
197 | 197 | #ifndef BOOTLOADER | |
198 | bool is_diacritic(const unsigned short char_code, bool *is_rtl) | 198 | bool is_diacritic(const unsigned short char_code, bool *is_rtl) |
199 | { | 199 | { |
200 | static uint8_t mru_len = 0; | 200 | static uint8_t mru_len = 0; |
@@ -248,4 +248,12 @@ Found: | |||
248 | 248 | ||
249 | return (char_code < diac->base + (info & DIAC_CNT)); | 249 | return (char_code < diac->base + (info & DIAC_CNT)); |
250 | } | 250 | } |
251 | 251 | #else /*BOOTLOADER*/ | |
252 | inline bool is_diacritic(const unsigned short char_code, bool *is_rtl) | ||
253 | { | ||
254 | (void)char_code; | ||
255 | if (is_rtl) | ||
256 | *is_rtl = false; | ||
257 | return false; | ||
258 | } | ||
259 | #endif /* ndef BOOTLOADER*/ | ||