more touchpad stuff

ugfx_release_2.6
Tectu 2012-08-09 01:31:24 +02:00
parent 640b747393
commit 79c0535678
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# List the required driver. # 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 # Required include directories
HALINC += $(LCDLIB)/halext/drivers/touchpad/touchpadXPT2046 HALINC += $(LCDLIB)/halext/drivers/touchpad/touchpadXPT2046

View File

@ -77,12 +77,12 @@
*/ */
void tpInit(TOUCHPADDriver * UNUSED(tp)) { void tpInit(TOUCHPADDriver * UNUSED(tp)) {
/* Initialise Mutex */ /* Initialise Mutex */
MUTEX_INIT //MUTEX_INIT
/* Initialise driver */ /* Initialise driver */
MUTEX_ENTER //MUTEX_ENTER
tp_lld_init(tp); tp_lld_init();
MUTEX_EXIT //MUTEX_EXIT
} }
#endif #endif