1
0
Fork 0
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:
Thomas Martitz 2009-07-16 07:35:10 +00:00
parent 0270e4c591
commit 009733c51d

View file

@ -76,8 +76,10 @@ void power_off(void)
/* Backlight off */
ascodec_write(AS3514_DCDC15, 0);
#ifdef HAVE_LCD_SLEEP
/* LCD off/sleep (otherwise the image slowly fades out) */
lcd_sleep();
#endif
/* Send shutdown command to PMU */
byte = ascodec_read(AS3514_SYSTEM);