From 0999a22ef87dcf57e4c3494f2a4c6a708263ad8b Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 6 Nov 2017 23:30:04 +0100 Subject: Remove lcd_scroll_worker from bootloader except remote displays and charcell Removes unneeded scrolling fuctionality from bootloaders Change-Id: Iebe308144cc11c9139399702e3dcd1a548cb9831 --- firmware/scroll_engine.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/scroll_engine.c') 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 */ -- cgit v1.2.3