aboutsummaryrefslogtreecommitdiffstats
path: root/glcd.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-07 01:08:12 +0200
committerTectu <joel@unormal.org>2012-06-07 01:08:12 +0200
commit8cafee2c32c0961d0e1afeba4983109d6655a7c9 (patch)
tree66d530ad89a3886f5532b9556c8908e40cbc7b7c /glcd.h
parent8d22c272572d22df9939ebbe3684f8edaa5b019a (diff)
downloaduGFX-8cafee2c32c0961d0e1afeba4983109d6655a7c9.tar.gz
uGFX-8cafee2c32c0961d0e1afeba4983109d6655a7c9.tar.bz2
uGFX-8cafee2c32c0961d0e1afeba4983109d6655a7c9.zip
touchpad does now work in all four modes
Diffstat (limited to 'glcd.h')
-rw-r--r--glcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glcd.h b/glcd.h
index 5fc6aa9b..b9485812 100644
--- a/glcd.h
+++ b/glcd.h
@@ -4,8 +4,8 @@
#include <ch.h> // types
#include <hal.h>
-#define SCREEN_WIDTH 320
-#define SCREEN_HEIGHT 240
+#define SCREEN_WIDTH 240
+#define SCREEN_HEIGHT 320
#define PORTRAIT (lcdGetOrientation() == portrait || lcdGetOrientation() == portraitInv)
#define LANDSCAPE (lcdGetOrientation() == landscape || lcdGetOrientation() == landscapeInv)