diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2012-03-16 21:57:30 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2012-03-19 08:43:27 +0100 |
commit | e1796fbc20e6aa3808a65ba7ac9ca08847e6595f (patch) | |
tree | 496d53c4310e14f1bef09bda9395a49b27d25830 | |
parent | 395290b7cd62806374ffbd04e28838b0dd9d5f57 (diff) | |
download | rockbox-e1796fbc20e6aa3808a65ba7ac9ca08847e6595f.tar.gz rockbox-e1796fbc20e6aa3808a65ba7ac9ca08847e6595f.zip |
mrobe500: fix warrnig in bootloader
Change-Id: I327dad2b8f335468d38ff8d717f7885c14492b7e
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c | 3 |
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) | |||
163 | static int old_data = 0; | 163 | static int old_data = 0; |
164 | int button_read = BUTTON_NONE; | 164 | int button_read = BUTTON_NONE; |
165 | short touch_x, touch_y, touch_z1, touch_z2; | 165 | short touch_x, touch_y, touch_z1, touch_z2; |
166 | #ifndef BOOTLOADER | ||
166 | static bool hold_button_old = false; | 167 | static bool hold_button_old = false; |
167 | 168 | #endif | |
168 | *data = old_data; | 169 | *data = old_data; |
169 | 170 | ||
170 | /* Handle touchscreen */ | 171 | /* Handle touchscreen */ |