touchpad driver fix

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__)
/* 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)

View File

@ -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)