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:
Karl Kurbjun 2008-05-15 12:52:17 +00:00
parent 7e26412dd1
commit 808568983d

View file

@ -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. */