forked from len0rd/rockbox
mrobe500: fix warrnig in bootloader
Change-Id: I327dad2b8f335468d38ff8d717f7885c14492b7e
This commit is contained in:
parent
395290b7cd
commit
e1796fbc20
1 changed files with 2 additions and 1 deletions
|
@ -163,8 +163,9 @@ int button_read_device(int *data)
|
||||||
static int old_data = 0;
|
static int old_data = 0;
|
||||||
int button_read = BUTTON_NONE;
|
int button_read = BUTTON_NONE;
|
||||||
short touch_x, touch_y, touch_z1, touch_z2;
|
short touch_x, touch_y, touch_z1, touch_z2;
|
||||||
|
#ifndef BOOTLOADER
|
||||||
static bool hold_button_old = false;
|
static bool hold_button_old = false;
|
||||||
|
#endif
|
||||||
*data = old_data;
|
*data = old_data;
|
||||||
|
|
||||||
/* Handle touchscreen */
|
/* Handle touchscreen */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue