From 5e37443a6f76b120925f1d2f8c0d6d83ab72b22a Mon Sep 17 00:00:00 2001 From: Tectu Date: Fri, 1 Jun 2012 11:52:16 +0200 Subject: [PATCH] fixes --- touchpad.c | 11 +---------- 1 file changed, 1 insertion(+), 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) {