summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/iaudio/m3/button-m3.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/iaudio/m3/button-m3.c')
-rw-r--r--firmware/target/coldfire/iaudio/m3/button-m3.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/target/coldfire/iaudio/m3/button-m3.c b/firmware/target/coldfire/iaudio/m3/button-m3.c
index 53d02ec449..1c7f4a15de 100644
--- a/firmware/target/coldfire/iaudio/m3/button-m3.c
+++ b/firmware/target/coldfire/iaudio/m3/button-m3.c
@@ -50,15 +50,11 @@ int button_read_device(void)
{
int btn = BUTTON_NONE;
#ifndef BOOTLOADER
- bool hold_button_old;
bool remote_hold_button_old;
#endif
int data;
/* normal buttons */
-#ifndef BOOTLOADER
- hold_button_old = hold_button;
-#endif
hold_button = button_hold();
if (!hold_button)