aboutsummaryrefslogtreecommitdiffstats
path: root/touchpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'touchpad.c')
-rw-r--r--touchpad.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/touchpad.c b/touchpad.c
index b7d722cc..d34ea308 100644
--- a/touchpad.c
+++ b/touchpad.c
@@ -29,16 +29,7 @@ uint16_t tpReadX(void) {
x = (((lcdGetWidth()-1) * x)/2048);
- switch(lcdGetOrientation()) {
- case portrait:
- break;
- case portraitInv:
- break;
- case landscape:
- break;
- case landscapeInv:
- break;
- }
+ return x;
}
uint16_t tpReadY(void) {