[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:
William Wilgus 2025-01-05 10:59:46 -05:00
parent f42343b715
commit 734cc3e8d1

View file

@ -676,7 +676,7 @@ 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 */
#if defined(HAVE_LCD_SLEEP) /* bugfix ipod Video, 6G crashes if screen off at shutdown */
lcd_awake();
#endif
if (!global_settings.show_shutdown_message)