aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-10-13 01:09:40 +0200
committerJoel Bodenmann <joel@unormal.org>2012-10-13 01:09:40 +0200
commitda4369c12571916632d806655a507d21a18c2934 (patch)
tree1fab9d1dfe94209dcc952a02f17783739c07548a
parent0eeee2378810e2eaa263dfc23d1a3fb3470e1714 (diff)
downloaduGFX-da4369c12571916632d806655a507d21a18c2934.tar.gz
uGFX-da4369c12571916632d806655a507d21a18c2934.tar.bz2
uGFX-da4369c12571916632d806655a507d21a18c2934.zip
touchpad driver fix
-rw-r--r--drivers/touchpad/ADS7843/touchpad_lld.c4
-rw-r--r--drivers/touchpad/XPT2046/touchpad_lld.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/touchpad/ADS7843/touchpad_lld.c b/drivers/touchpad/ADS7843/touchpad_lld.c
index dbd74786..eeaf11b5 100644
--- a/drivers/touchpad/ADS7843/touchpad_lld.c
+++ b/drivers/touchpad/ADS7843/touchpad_lld.c
@@ -45,7 +45,7 @@
/*===========================================================================*/
#if !defined(__DOXYGEN__)
/* Local copy of the current touchpad driver */
- static const TOUCHPADDriver_t *tpDriver;
+ static const TOUCHPADDriver *tpDriver;
static uint16_t sampleBuf[7];
#endif
@@ -69,7 +69,7 @@
*
* @notapi
*/
-void tp_lld_init(const TOUCHPADDriver_t *tp) {
+void tp_lld_init(const TOUCHPADDriver *tp) {
tpDriver = tp;
if(tpDriver->direct_init)
diff --git a/drivers/touchpad/XPT2046/touchpad_lld.c b/drivers/touchpad/XPT2046/touchpad_lld.c
index dbd74786..eeaf11b5 100644
--- a/drivers/touchpad/XPT2046/touchpad_lld.c
+++ b/drivers/touchpad/XPT2046/touchpad_lld.c
@@ -45,7 +45,7 @@
/*===========================================================================*/
#if !defined(__DOXYGEN__)
/* Local copy of the current touchpad driver */
- static const TOUCHPADDriver_t *tpDriver;
+ static const TOUCHPADDriver *tpDriver;
static uint16_t sampleBuf[7];
#endif
@@ -69,7 +69,7 @@
*
* @notapi
*/
-void tp_lld_init(const TOUCHPADDriver_t *tp) {
+void tp_lld_init(const TOUCHPADDriver *tp) {
tpDriver = tp;
if(tpDriver->direct_init)