1
0
Fork 0
forked from len0rd/rockbox

Fix Remove lcd_scroll_worker from bootloader except remote displays/charcell

This patch was supposed to only remove scroll worker from devices without
remote displays, the build system said otherwise

Change-Id: I240db89ee6b55818dbd2567338515b53ebe09300
fixed: conditional define
This commit is contained in:
William Wilgus 2018-05-25 19:16:45 +02:00
parent 0999a22ef8
commit 038a10220e

View file

@ -200,7 +200,8 @@ bool LCDFN(scroll_now)(struct scrollinfo *s)
return ended;
}
#if (!defined(BOOTLOADER) && !defined(HAVE_REMOTE_LCD)) || defined(HAVE_LCD_CHARCELLS)
#if !defined(BOOTLOADER) || defined(HAVE_REMOTE_LCD) || defined(HAVE_LCD_CHARCELLS)
static void LCDFN(scroll_worker)(void)
{
int index;