From 15775696c9ede5b5e6adc4e907646bd68dbc4d59 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Thu, 11 Oct 2012 12:27:26 +0200 Subject: [PATCH 1/2] small fix --- include/touchpad.h | 5 ----- 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. */ /*===========================================================================*/ From f414eaea62c0d90b2c34b73539317b6b4f370bd8 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Thu, 11 Oct 2012 12:28:20 +0200 Subject: [PATCH 2/2] docs --- docs/releases.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/releases.txt b/docs/releases.txt index 91f0db0a..1af19272 100644 --- a/docs/releases.txt +++ b/docs/releases.txt @@ -10,6 +10,8 @@ FIX: huge internal bugfix in orientation stuff (big thanks to Abhishek) FEATURE: added TOUCHPAD_XY_INVERTED macro FIX: struct cal renamed to struct cal_t FIX: SCREEN_WIDTH and SCREEN_HEIGHT renamed to GDISP_SCREEN_WIDTH and GDISP_SCREEN_HEIGHT +FIX: struct TOUCHPAD_t renamed to struct TOUCHPADDriver_t +FIX: struct GConsole renamed to struct GConsole_t *** changes after 1.0 *** FIX: removed gdisp and touchpad prefix of driver directories