aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/touch/FT5x06
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-02-28 16:26:37 +1000
committerinmarket <andrewh@inmarket.com.au>2015-02-28 16:26:37 +1000
commit8f779effe1ba39ed6e5ba8925bb9c71f5401c57c (patch)
treee7f3985e775e7462f7fd659d4417fafa200a3da0 /drivers/ginput/touch/FT5x06
parentfe980847d4d85cb7a4cd1f93de9b441337c20404 (diff)
downloaduGFX-8f779effe1ba39ed6e5ba8925bb9c71f5401c57c.tar.gz
uGFX-8f779effe1ba39ed6e5ba8925bb9c71f5401c57c.tar.bz2
uGFX-8f779effe1ba39ed6e5ba8925bb9c71f5401c57c.zip
Fix compiler warnings
Diffstat (limited to 'drivers/ginput/touch/FT5x06')
-rw-r--r--drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c
index 0359ecf3..ab331f8f 100644
--- a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c
+++ b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c
@@ -76,6 +76,7 @@ static bool_t MouseXYZ(GMouse* m, GMouseReading* pdr)
#if GMOUSE_FT5x06_SELF_CALIBRATE
#if GDISP_NEED_CONTROL
switch(gdispGGetOrientation(m->display)) {
+ default:
case GDISP_ROTATE_0:
case GDISP_ROTATE_180:
pdr->x = gdispGGetWidth(m->display) - pdr->x / (4096/gdispGGetWidth(m->display));