corrected tp.y typo in LANDSCAPE_REV case

This commit is contained in:
prenticedavid
2018-12-30 10:04:57 +00:00
parent caaf5e6abc
commit 0064434d1d

View File

@@ -149,7 +149,7 @@ void loop()
break;
case 3:
xpos = map(tp.y, TS_BOT, TS_TOP, 0, tft.width());
ypos = map(tp.y, TS_LEFT, TS_RT, 0, tft.height());
ypos = map(tp.x, TS_LEFT, TS_RT, 0, tft.height());
break;
}