more touchpad stuff
parent
640b747393
commit
79c0535678
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue