summaryrefslogtreecommitdiff
path: root/firmware/drivers/touchscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/touchscreen.c')
-rw-r--r--firmware/drivers/touchscreen.c2
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
175void touchscreen_enable(bool en) 176void 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 */