From 09785a8499b601abc9eac7640060c12eba962b56 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 13 Oct 2020 17:09:13 -0400 Subject: fix more yellow Change-Id: I74bad58707d05ea167169d4315c05eb0cd1c8b7b --- firmware/target/arm/sandisk/sansa-c200/button-c200.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/target/arm/sandisk/sansa-c200/button-c200.c') diff --git a/firmware/target/arm/sandisk/sansa-c200/button-c200.c b/firmware/target/arm/sandisk/sansa-c200/button-c200.c index c19d19c1df..e42577fab3 100644 --- a/firmware/target/arm/sandisk/sansa-c200/button-c200.c +++ b/firmware/target/arm/sandisk/sansa-c200/button-c200.c @@ -40,10 +40,12 @@ int button_read_device(void) { int btn = BUTTON_NONE; static bool hold_button = false; +#ifndef BOOTLOADER bool hold_button_old; /* Hold */ hold_button_old = hold_button; +#endif hold_button = button_hold(); #ifndef BOOTLOADER -- cgit v1.2.3