fixes
This commit is contained in:
parent
08bb31506e
commit
8d22c27257
1 changed files with 2 additions and 2 deletions
4
glcd.h
4
glcd.h
|
@ -7,8 +7,8 @@
|
||||||
#define SCREEN_WIDTH 320
|
#define SCREEN_WIDTH 320
|
||||||
#define SCREEN_HEIGHT 240
|
#define SCREEN_HEIGHT 240
|
||||||
|
|
||||||
#define PORTRAIT (orientation == portrait || orientation == portraitInv)
|
#define PORTRAIT (lcdGetOrientation() == portrait || lcdGetOrientation() == portraitInv)
|
||||||
#define LANDSCAPE (orientation == landscape || orientation == landscapeInv)
|
#define LANDSCAPE (lcdGetOrientation() == landscape || lcdGetOrientation() == landscapeInv)
|
||||||
|
|
||||||
/* uncomment if no board.h file used
|
/* uncomment if no board.h file used
|
||||||
#define LCD_DATA_PORT GPIOE
|
#define LCD_DATA_PORT GPIOE
|
||||||
|
|
Loading…
Add table
Reference in a new issue