aboutsummaryrefslogtreecommitdiffstats
path: root/src/touchscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchscreen.c')
-rw-r--r--src/touchscreen.c8
1 files changed, 2 insertions, 6 deletions
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 */