mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-06 04:32:38 +00:00
corrected tp.y typo in LANDSCAPE_REV case
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user