diff options
Diffstat (limited to 'firmware/target/coldfire/iaudio/m3/button-m3.c')
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/button-m3.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/firmware/target/coldfire/iaudio/m3/button-m3.c b/firmware/target/coldfire/iaudio/m3/button-m3.c index 1a27af93f5..b5b09807c0 100644 --- a/firmware/target/coldfire/iaudio/m3/button-m3.c +++ b/firmware/target/coldfire/iaudio/m3/button-m3.c | |||
@@ -54,12 +54,6 @@ int button_read_device(void) | |||
54 | hold_button_old = hold_button; | 54 | hold_button_old = hold_button; |
55 | hold_button = button_hold(); | 55 | hold_button = button_hold(); |
56 | 56 | ||
57 | #ifndef BOOTLOADER | ||
58 | /* give BL notice if HB state chaged */ | ||
59 | if (hold_button != hold_button_old) | ||
60 | backlight_hold_changed(hold_button); | ||
61 | #endif | ||
62 | |||
63 | if (!hold_button) | 57 | if (!hold_button) |
64 | { | 58 | { |
65 | #if 0 /* TODO: implement ADC */ | 59 | #if 0 /* TODO: implement ADC */ |
@@ -83,7 +77,7 @@ int button_read_device(void) | |||
83 | 77 | ||
84 | #ifndef BOOTLOADER | 78 | #ifndef BOOTLOADER |
85 | if (remote_hold_button != remote_hold_button_old) | 79 | if (remote_hold_button != remote_hold_button_old) |
86 | remote_backlight_hold_changed(remote_hold_button); | 80 | backlight_hold_changed(remote_hold_button); |
87 | #endif | 81 | #endif |
88 | 82 | ||
89 | if (!remote_hold_button) | 83 | if (!remote_hold_button) |