Use correct option for color inversion
This commit is contained in:
parent
4e0667a065
commit
849afed80d
5 changed files with 33 additions and 33 deletions
|
@ -7,7 +7,7 @@
|
|||
* Adafruit 3.5" TFT 320x480 + Touchscreen Breakout
|
||||
* http://www.adafruit.com/products/2050
|
||||
*
|
||||
* Adafruit TFT FeatherWing - 3.5" 480x320 Touchscreen for Feathers
|
||||
* Adafruit TFT FeatherWing - 3.5" 480x320 Touchscreen for Feathers
|
||||
* https://www.adafruit.com/product/3651
|
||||
*
|
||||
*/
|
||||
|
@ -40,6 +40,7 @@ extern "C" {
|
|||
#define HX8357_BCKL CONFIG_LV_DISP_PIN_BCKL
|
||||
|
||||
#define HX8357_ENABLE_BACKLIGHT_CONTROL CONFIG_LV_ENABLE_BACKLIGHT_CONTROL
|
||||
#define HX8357_INVERT_COLORS CONFIG_LV_INVERT_COLORS
|
||||
|
||||
#if CONFIG_LV_BACKLIGHT_ACTIVE_LVL
|
||||
#define HX8357_BCKL_ACTIVE_LVL 1
|
||||
|
@ -47,9 +48,6 @@ extern "C" {
|
|||
#define HX8357_BCKL_ACTIVE_LVL 0
|
||||
#endif
|
||||
|
||||
// if text/images are backwards, try setting this to 1
|
||||
#define HX8357_INVERT_DISPLAY CONFIG_LV_INVERT_DISPLAY
|
||||
|
||||
|
||||
/*******************
|
||||
* HX8357B/D REGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue