summaryrefslogtreecommitdiffstats
path: root/firmware/scroll_engine.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2017-11-06 23:30:04 +0100
committerMichael Giacomelli <giac2000@hotmail.com>2018-05-23 00:37:27 +0100
commit0999a22ef87dcf57e4c3494f2a4c6a708263ad8b (patch)
tree2825733822d9f864930c49420791f4f85379987c /firmware/scroll_engine.c
parent0b2f5187a3e607c3c3981359d4b8b0c726d1accb (diff)
downloadrockbox-0999a22ef87dcf57e4c3494f2a4c6a708263ad8b.tar.gz
rockbox-0999a22ef87dcf57e4c3494f2a4c6a708263ad8b.tar.bz2
rockbox-0999a22ef87dcf57e4c3494f2a4c6a708263ad8b.zip
Remove lcd_scroll_worker from bootloader except remote displays and charcell
Removes unneeded scrolling fuctionality from bootloaders Change-Id: Iebe308144cc11c9139399702e3dcd1a548cb9831
Diffstat (limited to 'firmware/scroll_engine.c')
-rw-r--r--firmware/scroll_engine.c2
1 files changed, 2 insertions, 0 deletions
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)
while (1)
{
sleep(lcd_scroll_info.ticks);
+#if !defined(BOOTLOADER) || defined(HAVE_LCD_CHARCELLS)
#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
if (lcd_active())
#endif
lcd_scroll_worker();
+#endif /*!BOOTLOADER\HAVE_LCD_CHARCELLS*/
}
}
#endif /* HAVE_REMOTE_LCD */