diff --git a/touchpad.c b/touchpad.c index 3bf089db..1430387d 100644 --- a/touchpad.c +++ b/touchpad.c @@ -98,6 +98,8 @@ uint16_t tpReadX(void) { case landscapeInv: return y; } + + return x; } uint16_t tpReadY(void) { @@ -116,6 +118,8 @@ uint16_t tpReadY(void) { case landscapeInv: return SCREEN_WIDTH - x; } + + return y; } static void tpDrawCross(uint16_t x, uint16_t y) {