1
0
Fork 0
forked from len0rd/rockbox

Remove lcd_scroll_worker from bootloader except remote displays and charcell

Removes unneeded scrolling fuctionality from bootloaders

Change-Id: Iebe308144cc11c9139399702e3dcd1a548cb9831
This commit is contained in:
William Wilgus 2017-11-06 23:30:04 +01:00 committed by Michael Giacomelli
parent 0b2f5187a3
commit 0999a22ef8
2 changed files with 4 additions and 1 deletions

View file

@ -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 */