forked from len0rd/rockbox
Fix Philips sa9200 red (HAVE_LCD_SLEEP is not defined in the bootloader so there's also no lcd_sleep()).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21901 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0270e4c591
commit
009733c51d
1 changed files with 2 additions and 0 deletions
|
@ -76,8 +76,10 @@ void power_off(void)
|
||||||
/* Backlight off */
|
/* Backlight off */
|
||||||
ascodec_write(AS3514_DCDC15, 0);
|
ascodec_write(AS3514_DCDC15, 0);
|
||||||
|
|
||||||
|
#ifdef HAVE_LCD_SLEEP
|
||||||
/* LCD off/sleep (otherwise the image slowly fades out) */
|
/* LCD off/sleep (otherwise the image slowly fades out) */
|
||||||
lcd_sleep();
|
lcd_sleep();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Send shutdown command to PMU */
|
/* Send shutdown command to PMU */
|
||||||
byte = ascodec_read(AS3514_SYSTEM);
|
byte = ascodec_read(AS3514_SYSTEM);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue