summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r--firmware/drivers/button.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 9ff0206..f31ab33 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -850,8 +850,10 @@ static int button_read(void)
hold_button_old = hold_button;
hold_button = button_hold();
+#ifndef BOOTLOADER
if (hold_button != hold_button_old)
backlight_hold_changed(hold_button);
+#endif
if (!hold_button)
{