mrobe500: fix warrnig in bootloader

Change-Id: I327dad2b8f335468d38ff8d717f7885c14492b7e
This commit is contained in:
Marcin Bukat 2012-03-16 21:57:30 +01:00
parent 395290b7cd
commit e1796fbc20

View file

@ -163,8 +163,9 @@ int button_read_device(int *data)
static int old_data = 0;
int button_read = BUTTON_NONE;
short touch_x, touch_y, touch_z1, touch_z2;
#ifndef BOOTLOADER
static bool hold_button_old = false;
#endif
*data = old_data;
/* Handle touchscreen */