summaryrefslogtreecommitdiff
path: root/firmware/backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r--firmware/backlight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 1284db4659..9575ecdc22 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -668,6 +668,7 @@ void backlight_thread(void)
668#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */ 668#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
669#endif /* HAVE_BUTTON_LIGHT */ 669#endif /* HAVE_BUTTON_LIGHT */
670 670
671 case SYS_REBOOT:
671 case SYS_POWEROFF: /* Lock backlight on poweroff so it doesn't */ 672 case SYS_POWEROFF: /* Lock backlight on poweroff so it doesn't */
672 locked = true; /* go off before power is actually cut. */ 673 locked = true; /* go off before power is actually cut. */
673#if !defined(BOOTLOADER) 674#if !defined(BOOTLOADER)