diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-11-12 19:19:38 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-11-12 19:19:38 +0000 |
commit | f4c5c6aa62a5362f91b4b445b6df71774cf4e75c (patch) | |
tree | f4e5538aa8b3c88b0b668760ac2d4fd7ef1dcf1c /firmware/target/arm/sandisk/backlight-c200_e200.c | |
parent | ef12b3b5c678e4fa44d60061b0c1bc312e589ba1 (diff) |
Fix bootloaders, and the backlight-modded Ondio build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15600 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk/backlight-c200_e200.c')
-rw-r--r-- | firmware/target/arm/sandisk/backlight-c200_e200.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/sandisk/backlight-c200_e200.c b/firmware/target/arm/sandisk/backlight-c200_e200.c index fad1018d38..9eeb05072e 100644 --- a/firmware/target/arm/sandisk/backlight-c200_e200.c +++ b/firmware/target/arm/sandisk/backlight-c200_e200.c @@ -41,7 +41,7 @@ void _backlight_on(void) #ifdef HAVE_LCD_ENABLE lcd_enable(true); /* power on lcd */ #endif -#ifdef HAVE_LCD_SLEEP +#if defined(HAVE_LCD_SLEEP) && !defined(BOOTLOADER) _lcd_sleep_timer = 0; /* LCD should be awake already */ #endif pp_i2c_send(AS3514_I2C_ADDR, DCDC15, backlight_brightness); @@ -53,7 +53,7 @@ void _backlight_off(void) #ifdef HAVE_LCD_ENABLE lcd_enable(false); /* power off lcd */ #endif -#ifdef HAVE_LCD_SLEEP +#if defined(HAVE_LCD_SLEEP) && !defined(BOOTLOADER) /* Start LCD sleep countdown */ if (_lcd_sleep_timeout < 0) { |