summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-03-16 21:57:30 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2012-03-19 08:43:27 +0100
commite1796fbc20e6aa3808a65ba7ac9ca08847e6595f (patch)
tree496d53c4310e14f1bef09bda9395a49b27d25830 /firmware
parent395290b7cd62806374ffbd04e28838b0dd9d5f57 (diff)
mrobe500: fix warrnig in bootloader
Change-Id: I327dad2b8f335468d38ff8d717f7885c14492b7e
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
index a3638cadc5..512c9ec42f 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
@@ -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 */