diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/lcd-scroll.c | 3 | ||||
-rw-r--r-- | firmware/scroll_engine.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-scroll.c b/firmware/drivers/lcd-scroll.c index 5162f9a100..74606b1ed7 100644 --- a/firmware/drivers/lcd-scroll.c +++ b/firmware/drivers/lcd-scroll.c | |||
@@ -200,7 +200,7 @@ bool LCDFN(scroll_now)(struct scrollinfo *s) | |||
200 | 200 | ||
201 | return ended; | 201 | return ended; |
202 | } | 202 | } |
203 | 203 | #if (!defined(BOOTLOADER) && !defined(HAVE_REMOTE_LCD)) || defined(HAVE_LCD_CHARCELLS) | |
204 | static void LCDFN(scroll_worker)(void) | 204 | static void LCDFN(scroll_worker)(void) |
205 | { | 205 | { |
206 | int index; | 206 | int index; |
@@ -251,3 +251,4 @@ static void LCDFN(scroll_worker)(void) | |||
251 | s->start_tick += si->delay + si->ticks; | 251 | s->start_tick += si->delay + si->ticks; |
252 | } | 252 | } |
253 | } | 253 | } |
254 | #endif /*!BOOTLOADER*/ | ||
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c index cb0051dac7..aacaa496e7 100644 --- a/firmware/scroll_engine.c +++ b/firmware/scroll_engine.c | |||
@@ -185,10 +185,12 @@ static void scroll_thread(void) | |||
185 | while (1) | 185 | while (1) |
186 | { | 186 | { |
187 | sleep(lcd_scroll_info.ticks); | 187 | sleep(lcd_scroll_info.ticks); |
188 | #if !defined(BOOTLOADER) || defined(HAVE_LCD_CHARCELLS) | ||
188 | #if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) | 189 | #if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) |
189 | if (lcd_active()) | 190 | if (lcd_active()) |
190 | #endif | 191 | #endif |
191 | lcd_scroll_worker(); | 192 | lcd_scroll_worker(); |
193 | #endif /*!BOOTLOADER\HAVE_LCD_CHARCELLS*/ | ||
192 | } | 194 | } |
193 | } | 195 | } |
194 | #endif /* HAVE_REMOTE_LCD */ | 196 | #endif /* HAVE_REMOTE_LCD */ |