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) |
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) return current_mode; } +#ifndef HAS_BUTTON_HOLD void touchscreen_enable(bool en) { if(en != touch_enabled) @@ -185,6 +186,7 @@ bool touchscreen_is_enabled(void) { return touch_enabled; } +#endif #if ((CONFIG_PLATFORM & PLATFORM_ANDROID) == 0) /* android has an API for this */ |