diff options
author | Tectu <joel@unormal.org> | 2012-06-07 01:08:12 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-06-07 01:08:12 +0200 |
commit | 8cafee2c32c0961d0e1afeba4983109d6655a7c9 (patch) | |
tree | 66d530ad89a3886f5532b9556c8908e40cbc7b7c /glcd.h | |
parent | 8d22c272572d22df9939ebbe3684f8edaa5b019a (diff) | |
download | uGFX-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)
|