touchscreen fix
This commit is contained in:
parent
0ab8da8c78
commit
ac5267af6a
1 changed files with 2 additions and 6 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue