diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-13 14:43:29 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-13 15:48:31 -0400 |
commit | b94db707fb7a8ace5c8821ea47d85ec48ca48e26 (patch) | |
tree | 9b0128bd96c8765a8e7abdbe9062e6bcd397da69 /firmware/target/arm/pbell/vibe500/button-vibe500.c | |
parent | 431caa4311c13a0937ae60ac225e780c0a0670b9 (diff) | |
download | rockbox-b94db707fb.tar.gz rockbox-b94db707fb.tar.bz2 rockbox-b94db707fb.zip |
Fix more warnings.
Change-Id: Ib3a9fc622a46b1fc72e94dcbc6d29d2e430cd81b
Diffstat (limited to 'firmware/target/arm/pbell/vibe500/button-vibe500.c')
-rw-r--r-- | firmware/target/arm/pbell/vibe500/button-vibe500.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/pbell/vibe500/button-vibe500.c b/firmware/target/arm/pbell/vibe500/button-vibe500.c index 9afc9eecab..1279e86725 100644 --- a/firmware/target/arm/pbell/vibe500/button-vibe500.c +++ b/firmware/target/arm/pbell/vibe500/button-vibe500.c @@ -97,9 +97,11 @@ int button_read_device(void) int buttons = int_btn; unsigned char state; static bool hold_button = false; +#ifndef BOOTLOADER bool hold_button_old; hold_button_old = hold_button; +#endif hold_button = button_hold(); #ifndef BOOTLOADER |