Add 7789 color invert option

This commit is contained in:
Tomas Rezucha 2021-02-12 10:18:01 +01:00
parent cbb08b2c3d
commit c90f6a4831
3 changed files with 29 additions and 21 deletions

View file

@ -26,6 +26,7 @@ extern "C"
#define ST7789_BCKL CONFIG_LV_DISP_PIN_BCKL
#define ST7789_ENABLE_BACKLIGHT_CONTROL CONFIG_LV_ENABLE_BACKLIGHT_CONTROL
#define ST7789_INVERT_COLORS CONFIG_LV_INVERT_COLORS
#if CONFIG_LV_BACKLIGHT_ACTIVE_LVL
#define ST7789_BCKL_ACTIVE_LVL 1