From 1165a0882349ce1f1a426c642062dc06d0019265 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 5 Sep 2013 20:35:51 +0200 Subject: fix red Change-Id: Ibca5879553a87e77014f850308d9b54cc339d474 --- firmware/drivers/touchscreen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/drivers/touchscreen.c') 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 */ -- cgit v1.2.3