summaryrefslogtreecommitdiff
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)
52 unsigned char state; 52 unsigned char state;
53 static bool hold_button = false; 53 static bool hold_button = false;
54 54
55#ifndef BOOTLOADER
55 /* light handling */ 56 /* light handling */
56 if (hold_button && !button_hold()) 57 if (hold_button && !button_hold())
57 { 58 {
58 backlight_hold_changed(hold_button); 59 backlight_hold_changed(hold_button);
59 } 60 }
61#endif
60 62
61 hold_button = button_hold(); 63 hold_button = button_hold();
62 if (!hold_button) 64 if (!hold_button)