From 3e75dfd965ffae0f959434e37568136c14b709ae Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 11 Jun 2012 12:45:20 +0200 Subject: fixed compiler warnings --- touchpad.c | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- cgit v1.2.3