touchpad driver fix

remotes/origin_old/ugfx_release_2.6
Joel Bodenmann 2012-10-13 01:09:40 +02:00
parent 0eeee23788
commit da4369c125
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@
/*===========================================================================*/ /*===========================================================================*/
#if !defined(__DOXYGEN__) #if !defined(__DOXYGEN__)
/* Local copy of the current touchpad driver */ /* Local copy of the current touchpad driver */
static const TOUCHPADDriver_t *tpDriver; static const TOUCHPADDriver *tpDriver;
static uint16_t sampleBuf[7]; static uint16_t sampleBuf[7];
#endif #endif
@ -69,7 +69,7 @@
* *
* @notapi * @notapi
*/ */
void tp_lld_init(const TOUCHPADDriver_t *tp) { void tp_lld_init(const TOUCHPADDriver *tp) {
tpDriver = tp; tpDriver = tp;
if(tpDriver->direct_init) if(tpDriver->direct_init)

View File

@ -45,7 +45,7 @@
/*===========================================================================*/ /*===========================================================================*/
#if !defined(__DOXYGEN__) #if !defined(__DOXYGEN__)
/* Local copy of the current touchpad driver */ /* Local copy of the current touchpad driver */
static const TOUCHPADDriver_t *tpDriver; static const TOUCHPADDriver *tpDriver;
static uint16_t sampleBuf[7]; static uint16_t sampleBuf[7];
#endif #endif
@ -69,7 +69,7 @@
* *
* @notapi * @notapi
*/ */
void tp_lld_init(const TOUCHPADDriver_t *tp) { void tp_lld_init(const TOUCHPADDriver *tp) {
tpDriver = tp; tpDriver = tp;
if(tpDriver->direct_init) if(tpDriver->direct_init)