Save around a hundred uA - not much, but why not? - No functional change for users.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17519 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f37371246c
commit
6450de3eae
1 changed files with 2 additions and 0 deletions
|
@ -280,6 +280,7 @@ void lcd_sleep(void)
|
|||
lcd_enable(false);
|
||||
|
||||
LCD_SPI_powerdown();
|
||||
GPBDAT &= ~(1 << 2); /* Fully disable the backlight controller */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -293,6 +294,7 @@ void lcd_enable(bool state)
|
|||
/* "enabled" implies "powered" */
|
||||
if (!lcd_powered)
|
||||
{
|
||||
GPBDAT |= (1 << 2); /* Enable the backlight controller */
|
||||
LCD_SPI_powerup();
|
||||
/* Wait long enough for a frame to be written - yes, it
|
||||
* takes awhile. */
|
||||
|
|
Loading…
Reference in a new issue