mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-21 19:12:39 -05:00
Fix bootloaders, and the backlight-modded Ondio build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15600 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ef12b3b5c6
commit
f4c5c6aa62
6 changed files with 26 additions and 3 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue