From a7f4e1f1c51c6f99d17eb25dbdd57a78af4cb0e1 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 29 Apr 2009 22:24:40 +0000 Subject: Simulate lcd_enable and lcd_sleep in the simulator. Therefore, turn backlight-sim.h into a .c too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20829 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipodvideo.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'firmware/export/config-ipodvideo.h') diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index c9f97dcea5..6adcda9a1e 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h @@ -91,6 +91,10 @@ #define HAVE_BACKLIGHT #define HAVE_BACKLIGHT_BRIGHTNESS +/* Support for LCD sleep/BCM shutdown */ +#define HAVE_LCD_SLEEP +#define HAVE_LCD_SLEEP_SETTING + /* We can fade the backlight by using PWM */ #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM @@ -208,9 +212,6 @@ #define HAVE_SERIAL #ifndef BOOTLOADER -/* Support for LCD sleep/BCM shutdown */ -#define HAVE_LCD_SLEEP -#define HAVE_LCD_SLEEP_SETTING /* The same code may also be used when shutting down the iPod */ #define HAVE_LCD_SHUTDOWN #endif -- cgit v1.2.3