summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio/x5/button-x5.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/iaudio/x5/button-x5.c')
-rwxr-xr-xfirmware/target/coldfire/iaudio/x5/button-x5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/button-x5.c b/firmware/target/coldfire/iaudio/x5/button-x5.c
index b44909a975..bfe793e438 100755
--- a/firmware/target/coldfire/iaudio/x5/button-x5.c
+++ b/firmware/target/coldfire/iaudio/x5/button-x5.c
@@ -56,9 +56,11 @@ int button_read_device(void)
56 hold_button_old = hold_button; 56 hold_button_old = hold_button;
57 hold_button = button_hold(); 57 hold_button = button_hold();
58 58
59#ifndef BOOTLOADER
59 /* give BL notice if HB state chaged */ 60 /* give BL notice if HB state chaged */
60 if (hold_button != hold_button_old) 61 if (hold_button != hold_button_old)
61 backlight_hold_changed(hold_button); 62 backlight_hold_changed(hold_button);
63#endif
62 64
63 if (!hold_button) 65 if (!hold_button)
64 { 66 {