touchscreen fix

ugfx_release_2.6
Joel Bodenmann 2012-11-26 00:35:02 +01:00
parent 0ab8da8c78
commit ac5267af6a
1 changed files with 2 additions and 6 deletions

View File

@ -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 */