From 734cc3e8d17f4e6e3251d53bb4a7688d62489e3f Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 5 Jan 2025 10:59:46 -0500 Subject: [PATCH] [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 --- firmware/backlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/backlight.c b/firmware/backlight.c index 7f6b81b82f..f3d82d7050 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c @@ -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)