From ac5267af6af5508d4391fddb3d27c8d45879950a Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 26 Nov 2012 00:35:02 +0100 Subject: touchscreen fix --- src/touchscreen.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/touchscreen.c b/src/touchscreen.c index 265243a4..0fa5402e 100644 --- a/src/touchscreen.c +++ b/src/touchscreen.c @@ -184,7 +184,7 @@ coord_t tsReadX(void) { y = _tsReadRealY(); #endif - //_tsTransform(&x, &y); + _tsTransform(&x, &y); switch(gdispGetOrientation()) { case GDISP_ROTATE_0: @@ -218,7 +218,7 @@ coord_t tsReadY(void) { y = _tsReadRealY(); #endif - //_tsTransform(&x, &y); + _tsTransform(&x, &y); switch(gdispGetOrientation()) { case GDISP_ROTATE_0: @@ -276,9 +276,6 @@ coord_t tsReadY(void) { * @api */ void tsCalibrate(void) { -#if 0 - - const uint16_t height = gdispGetHeight(); const uint16_t width = gdispGetWidth(); const coord_t cross[][2] = {{(width / 4), (height / 4)}, @@ -365,7 +362,6 @@ calibrate: #if TOUCHSCREEN_STORE_CALIBRATION ts_store_calibration_lld(cal); #endif -#endif } #endif /* GFX_USE_TOUCHSCREEN */ -- cgit v1.2.3