summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2025-01-05 10:59:46 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2025-01-05 10:59:46 -0500
commit734cc3e8d17f4e6e3251d53bb4a7688d62489e3f (patch)
treecd2b5e4c87c9c2f269ee63c157b410e977f2b19c
parentf42343b715b8719f0fdd8a95eb69145465800cd4 (diff)
downloadrockbox-734cc3e8d1.tar.gz
rockbox-734cc3e8d1.zip
[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
-rw-r--r--firmware/backlight.c2
1 files changed, 1 insertions, 1 deletions
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)