Permit ST7789V orientation override (#19044)
This commit is contained in:
parent
b6e4acec9d
commit
8cededa7dd
@ -39,7 +39,9 @@
|
|||||||
#define ST7789V_ORIENTATION_DOWN 0 // 240x320 ; Cable on the lower side
|
#define ST7789V_ORIENTATION_DOWN 0 // 240x320 ; Cable on the lower side
|
||||||
|
|
||||||
//#define ST7789V_COLOR_BGR
|
//#define ST7789V_COLOR_BGR
|
||||||
|
#ifndef ST7789V_ORIENTATION
|
||||||
#define ST7789V_ORIENTATION ST7789V_ORIENTATION_LEFT
|
#define ST7789V_ORIENTATION ST7789V_ORIENTATION_LEFT
|
||||||
|
#endif
|
||||||
#define ST7789V_MADCTL_DATA (ST7789V_ORIENTATION | TERN(ST7789V_COLOR_BGR, ST7789V_MADCTL_BGR, ST7789V_MADCTL_RGB))
|
#define ST7789V_MADCTL_DATA (ST7789V_ORIENTATION | TERN(ST7789V_COLOR_BGR, ST7789V_MADCTL_BGR, ST7789V_MADCTL_RGB))
|
||||||
|
|
||||||
#define ST7789V_NOP 0x00 // No Operation
|
#define ST7789V_NOP 0x00 // No Operation
|
||||||
|
Loading…
Reference in New Issue
Block a user