mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
[Bugfix] call lcd_awake() unconditioanlly on shutdown for devices with HAVE_LCD_SLEEP
last patch limited this to the 6G but the ipod Video has similar reports I have a feeling there are others and enabling this unconditionally shouldn't hurt the other devices Change-Id: Ie4077299550ee028c32d746e5fe6c60b707f052e
This commit is contained in:
parent
f42343b715
commit
734cc3e8d1
1 changed files with 1 additions and 1 deletions
|
@ -676,7 +676,7 @@ void backlight_thread(void)
|
||||||
case SYS_POWEROFF: /* Lock backlight on poweroff so it doesn't */
|
case SYS_POWEROFF: /* Lock backlight on poweroff so it doesn't */
|
||||||
locked = true; /* go off before power is actually cut. */
|
locked = true; /* go off before power is actually cut. */
|
||||||
#if !defined(BOOTLOADER)
|
#if !defined(BOOTLOADER)
|
||||||
#if defined(HAVE_LCD_SLEEP) && defined(IPOD_6G) /* bugfix ipod 6G crashes if screen off at shutdown */
|
#if defined(HAVE_LCD_SLEEP) /* bugfix ipod Video, 6G crashes if screen off at shutdown */
|
||||||
lcd_awake();
|
lcd_awake();
|
||||||
#endif
|
#endif
|
||||||
if (!global_settings.show_shutdown_message)
|
if (!global_settings.show_shutdown_message)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue