summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b44909a..bfe793e 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)
hold_button_old = hold_button;
hold_button = button_hold();
+#ifndef BOOTLOADER
/* give BL notice if HB state chaged */
if (hold_button != hold_button_old)
backlight_hold_changed(hold_button);
+#endif
if (!hold_button)
{