summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-09-05 20:50:51 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-09-05 20:50:51 +0200
commit1ac762aebb142fe96a8f204614d1a2d66a05258d (patch)
tree9b69b1f3d0b1e6e4acda3abdd4607a2055d9b652 /firmware/target/hosted
parent1165a0882349ce1f1a426c642062dc06d0019265 (diff)
downloadrockbox-1ac762aebb142fe96a8f204614d1a2d66a05258d.tar.gz
rockbox-1ac762aebb142fe96a8f204614d1a2d66a05258d.zip
fix red
Change-Id: I9eb83aaffa93636d5e601132efdfbb85340a665d
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/sdl/app/button-application.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/app/button-application.c b/firmware/target/hosted/sdl/app/button-application.c
index 0e85a2e88f..9c313b76b1 100644
--- a/firmware/target/hosted/sdl/app/button-application.c
+++ b/firmware/target/hosted/sdl/app/button-application.c
@@ -25,6 +25,13 @@
#include "button.h"
#include "buttonmap.h"
+#ifndef HAS_BUTTON_HOLD
+void touchscreen_enable_device(bool en)
+{
+ (void)en;
+}
+#endif
+
int key_to_button(int keyboard_key)
{
int new_btn = BUTTON_NONE;