From 4ed387d60313ac79fa7ac8b403bf3195f7c0c549 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 17 Mar 2009 03:36:36 +0000 Subject: Fix reds and yellows (hopefully). Some targets apparently didn't properly #ifdef lcd_enable and lcd_sleep code out, so that it got partly active in the bootloader; rename the ui simulator stub fixes most reds; for the clip: move the hook code into lcd-1bit-vert.c which should fix the bootloader red. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20333 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uisimulator/common') diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 78171ac82b..6fd3061133 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c @@ -202,7 +202,7 @@ bool headphones_inserted(void) } #endif -#ifdef HAVE_LCD_ENABLE +#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) bool lcd_enabled(void) { return true; -- cgit v1.2.3