mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Fix more warnings.
Change-Id: Ib3a9fc622a46b1fc72e94dcbc6d29d2e430cd81b
This commit is contained in:
parent
431caa4311
commit
b94db707fb
11 changed files with 41 additions and 19 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue