From 18d2653e4e5026955890e47d4fff0769755cdf03 Mon Sep 17 00:00:00 2001 From: Lucas Saavedra Vaz Date: Tue, 25 Apr 2023 17:03:48 -0300 Subject: [PATCH] boards/xtensa/ttgo_t_display_esp32: Fix LCD colors --- .../xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig b/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig index 9f11ecf883..2eb6aeb4b2 100644 --- a/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig +++ b/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig @@ -41,6 +41,7 @@ CONFIG_LCD_ST7789_XOFFSET=53 CONFIG_LCD_ST7789_XRES=135 CONFIG_LCD_ST7789_YOFFSET=40 CONFIG_LCD_ST7789_YRES=240 +CONFIG_LV_COLOR_16_SWAP=y CONFIG_LV_MEM_CUSTOM=y CONFIG_LV_PORT_LCDDEV_DOUBLE_BUFFER=y CONFIG_LV_PORT_USE_LCDDEV=y