diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-05 20:35:51 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-05 20:35:51 +0200 |
commit | 1165a0882349ce1f1a426c642062dc06d0019265 (patch) | |
tree | be471ad1b96280801f893142ed9d279631e5008a /firmware/drivers/touchscreen.c | |
parent | df6eb82f5156256e1999374ce9b1a159610ff9a0 (diff) | |
download | rockbox-1165a0882349ce1f1a426c642062dc06d0019265.tar.gz rockbox-1165a0882349ce1f1a426c642062dc06d0019265.zip |
fix red
Change-Id: Ibca5879553a87e77014f850308d9b54cc339d474
Diffstat (limited to 'firmware/drivers/touchscreen.c')
-rw-r--r-- | firmware/drivers/touchscreen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/touchscreen.c b/firmware/drivers/touchscreen.c index 8ce2400ca2..42ddf7ec47 100644 --- a/firmware/drivers/touchscreen.c +++ b/firmware/drivers/touchscreen.c | |||
@@ -172,6 +172,7 @@ enum touchscreen_mode touchscreen_get_mode(void) | |||
172 | return current_mode; | 172 | return current_mode; |
173 | } | 173 | } |
174 | 174 | ||
175 | #ifndef HAS_BUTTON_HOLD | ||
175 | void touchscreen_enable(bool en) | 176 | void touchscreen_enable(bool en) |
176 | { | 177 | { |
177 | if(en != touch_enabled) | 178 | if(en != touch_enabled) |
@@ -185,6 +186,7 @@ bool touchscreen_is_enabled(void) | |||
185 | { | 186 | { |
186 | return touch_enabled; | 187 | return touch_enabled; |
187 | } | 188 | } |
189 | #endif | ||
188 | 190 | ||
189 | #if ((CONFIG_PLATFORM & PLATFORM_ANDROID) == 0) | 191 | #if ((CONFIG_PLATFORM & PLATFORM_ANDROID) == 0) |
190 | /* android has an API for this */ | 192 | /* android has an API for this */ |