summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/button-e200.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/button-e200.c b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
index 168332e3c1..630162ef78 100644
--- a/firmware/target/arm/sandisk/sansa-e200/button-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
@@ -39,7 +39,9 @@ static unsigned long next_backlight_on = 0;
#endif
/* Buttons */
static bool hold_button = false;
+#ifndef BOOTLOADER
static bool hold_button_old = false;
+#endif
static int int_btn = BUTTON_NONE;
void button_init_device(void)