mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Forgot about the buttonlights. Removing for now since this will not work properly if the buttonlights are set to a time longer than the backlight.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17523 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7e26412dd1
commit
808568983d
1 changed files with 0 additions and 2 deletions
|
|
@ -280,7 +280,6 @@ void lcd_sleep(void)
|
||||||
lcd_enable(false);
|
lcd_enable(false);
|
||||||
|
|
||||||
LCD_SPI_powerdown();
|
LCD_SPI_powerdown();
|
||||||
GPBDAT &= ~(1 << 2); /* Fully disable the backlight controller */
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -294,7 +293,6 @@ void lcd_enable(bool state)
|
||||||
/* "enabled" implies "powered" */
|
/* "enabled" implies "powered" */
|
||||||
if (!lcd_powered)
|
if (!lcd_powered)
|
||||||
{
|
{
|
||||||
GPBDAT |= (1 << 2); /* Enable the backlight controller */
|
|
||||||
LCD_SPI_powerup();
|
LCD_SPI_powerup();
|
||||||
/* Wait long enough for a frame to be written - yes, it
|
/* Wait long enough for a frame to be written - yes, it
|
||||||
* takes awhile. */
|
* takes awhile. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue