diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-10-11 12:27:26 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-10-11 12:27:26 +0200 |
commit | 15775696c9ede5b5e6adc4e907646bd68dbc4d59 (patch) | |
tree | d25389c10ee4c174d19e85a565086bd69c1ce97a | |
parent | 069b0d32d886854e8c6dc959ba6889130a53a348 (diff) | |
download | uGFX-15775696c9ede5b5e6adc4e907646bd68dbc4d59.tar.gz uGFX-15775696c9ede5b5e6adc4e907646bd68dbc4d59.tar.bz2 uGFX-15775696c9ede5b5e6adc4e907646bd68dbc4d59.zip |
small fix
-rw-r--r-- | include/touchpad.h | 5 | ||||
-rw-r--r-- | src/touchpad.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/touchpad.h b/include/touchpad.h index 469144b1..b07c4dc4 100644 --- a/include/touchpad.h +++ b/include/touchpad.h @@ -83,11 +83,6 @@ void tpCalibrate(void); uint16_t tpReadZ(void); #endif -#if TOUCHPAD_STORE_CALIBRATION - extern void lld_tpWriteCalibration(struct cal_t cal); - extern struct cal_t lld_tpReadCalibration(void); -#endif - #ifdef __cplusplus } #endif diff --git a/src/touchpad.c b/src/touchpad.c index b38283c2..164e4a36 100644 --- a/src/touchpad.c +++ b/src/touchpad.c @@ -32,6 +32,11 @@ #if HAL_USE_TOUCHPAD || defined(__DOXYGEN__) +#if TOUCHPAD_STORE_CALIBRATION +extern void lld_tpWriteCalibration(struct cal_t cal); +extern struct cal_t lld_tpReadCalibration(void); +#endif + /*===========================================================================*/ /* Driver local definitions. */ /*===========================================================================*/ |