aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-08-09 01:31:24 +0200
committerTectu <joel@unormal.org>2012-08-09 01:31:24 +0200
commit79c053567816521b601e44981bf3af5b0e40f752 (patch)
treea3a15ded67e203e635f5a1012fe23d13a20a5d48
parent640b7473935bea33102187a2833dae940b345576 (diff)
downloaduGFX-79c053567816521b601e44981bf3af5b0e40f752.tar.gz
uGFX-79c053567816521b601e44981bf3af5b0e40f752.tar.bz2
uGFX-79c053567816521b601e44981bf3af5b0e40f752.zip
more touchpad stuff
-rw-r--r--halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.mk2
-rw-r--r--halext/src/touchpad.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.mk b/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.mk
index e97deff8..9409795b 100644
--- a/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.mk
+++ b/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.mk
@@ -1,5 +1,5 @@
# List the required driver.
-HLSRC += $(LCDLIB)/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c
+HALSRC += $(LCDLIB)/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c
# Required include directories
HALINC += $(LCDLIB)/halext/drivers/touchpad/touchpadXPT2046
diff --git a/halext/src/touchpad.c b/halext/src/touchpad.c
index 29ff9eb5..f65ca0cd 100644
--- a/halext/src/touchpad.c
+++ b/halext/src/touchpad.c
@@ -77,12 +77,12 @@
*/
void tpInit(TOUCHPADDriver * UNUSED(tp)) {
/* Initialise Mutex */
- MUTEX_INIT
+ //MUTEX_INIT
/* Initialise driver */
- MUTEX_ENTER
- tp_lld_init(tp);
- MUTEX_EXIT
+ //MUTEX_ENTER
+ tp_lld_init();
+ //MUTEX_EXIT
}
#endif