summaryrefslogtreecommitdiffstats
path: root/firmware/drivers
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/drivers
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/drivers')
-rw-r--r--firmware/drivers/lcd-scroll.c3
1 files changed, 2 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)
return ended;
}
-
+#if (!defined(BOOTLOADER) && !defined(HAVE_REMOTE_LCD)) || defined(HAVE_LCD_CHARCELLS)
static void LCDFN(scroll_worker)(void)
{
int index;
@@ -251,3 +251,4 @@ static void LCDFN(scroll_worker)(void)
s->start_tick += si->delay + si->ticks;
}
}
+#endif /*!BOOTLOADER*/