summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/iriver/h10/button-h10.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/h10/button-h10.c b/firmware/target/arm/iriver/h10/button-h10.c
index c31808a160..55f073839e 100644
--- a/firmware/target/arm/iriver/h10/button-h10.c
+++ b/firmware/target/arm/iriver/h10/button-h10.c
@@ -52,11 +52,13 @@ int button_read_device(void)
unsigned char state;
static bool hold_button = false;
+#ifndef BOOTLOADER
/* light handling */
if (hold_button && !button_hold())
{
backlight_hold_changed(hold_button);
}
+#endif
hold_button = button_hold();
if (!hold_button)