mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[BugFix] Ipod 6G Classic Shutdown Hang
I think it comes down to lcd_target_enable_clocks(true) which turning on backlight or lcd_awake calls https://forums.rockbox.org/index.php/topic,55159.0.html Change-Id: Iab2a0abc0763e63213f01bda79dca5e39aa41fc4
This commit is contained in:
parent
22d921c55c
commit
f42343b715
1 changed files with 3 additions and 0 deletions
|
@ -676,6 +676,9 @@ void backlight_thread(void)
|
|||
case SYS_POWEROFF: /* Lock backlight on poweroff so it doesn't */
|
||||
locked = true; /* go off before power is actually cut. */
|
||||
#if !defined(BOOTLOADER)
|
||||
#if defined(HAVE_LCD_SLEEP) && defined(IPOD_6G) /* bugfix ipod 6G crashes if screen off at shutdown */
|
||||
lcd_awake();
|
||||
#endif
|
||||
if (!global_settings.show_shutdown_message)
|
||||
break;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue