summaryrefslogtreecommitdiff
path: root/firmware/target/arm/iriver/h10/button-h10.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/iriver/h10/button-h10.c')
-rw-r--r--firmware/target/arm/iriver/h10/button-h10.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/iriver/h10/button-h10.c b/firmware/target/arm/iriver/h10/button-h10.c
index cd28e25c71..c31808a160 100644
--- a/firmware/target/arm/iriver/h10/button-h10.c
+++ b/firmware/target/arm/iriver/h10/button-h10.c
@@ -52,13 +52,11 @@ 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#if 0
56 /* light handling */ 55 /* light handling */
57 if (hold_button && !button_hold()) 56 if (hold_button && !button_hold())
58 { 57 {
59 backlight_on(); 58 backlight_hold_changed(hold_button);
60 } 59 }
61#endif
62 60
63 hold_button = button_hold(); 61 hold_button = button_hold();
64 if (!hold_button) 62 if (!hold_button)