diff --git a/tasmota/tasmota_configurations_ESP32.h b/tasmota/tasmota_configurations_ESP32.h index c976ca364..9c36aa15e 100644 --- a/tasmota/tasmota_configurations_ESP32.h +++ b/tasmota/tasmota_configurations_ESP32.h @@ -108,13 +108,16 @@ #define USE_MPU6886 #define USE_SPI #define USE_DISPLAY - - #ifndef USE_UNIVERSAL_DISPLAY - #define USE_DISPLAY_ILI9341 - #define USE_TOUCH_BUTTONS - #define MAX_TOUCH_BUTTONS 16 - #endif - +#ifdef USE_UNIVERSAL_DISPLAY + #define USE_LVGL + #define USE_DISPLAY_LVGL_ONLY + #define USE_TOUCH_SCREEN +#else + #define USE_DISPLAY_ILI9341 // [DisplayModel 4] Enable ILI9341 Tft 480x320 display (+19k code) + #define USE_DISPLAY_MODES1TO5 + #define USE_TOUCH_BUTTONS + #define MAX_TOUCH_BUTTONS 16 +#endif #define JPEG_PICTS #define USE_FT5206