ugfx_release_2.6
Tectu 2012-06-06 23:31:00 +02:00
parent 08bb31506e
commit 8d22c27257
1 changed files with 2 additions and 2 deletions

4
glcd.h
View File

@ -7,8 +7,8 @@
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
#define PORTRAIT (orientation == portrait || orientation == portraitInv)
#define LANDSCAPE (orientation == landscape || orientation == landscapeInv)
#define PORTRAIT (lcdGetOrientation() == portrait || lcdGetOrientation() == portraitInv)
#define LANDSCAPE (lcdGetOrientation() == landscape || lcdGetOrientation() == landscapeInv)
/* uncomment if no board.h file used
#define LCD_DATA_PORT GPIOE