diff --git a/tasmota/tasmota_template.h b/tasmota/tasmota_template.h index 6db361c33..c7b901e26 100644 --- a/tasmota/tasmota_template.h +++ b/tasmota/tasmota_template.h @@ -471,10 +471,12 @@ const uint16_t kGpioNiceList[] PROGMEM = { #ifdef USE_DISPLAY_ILI9341 AGPIO(GPIO_ILI9341_CS), AGPIO(GPIO_ILI9341_DC), +#endif // USE_DISPLAY_ILI9341 + #ifdef USE_XPT2046 AGPIO(GPIO_XPT2046_CS), // XPT2046 SPI Chip Select #endif -#endif // USE_DISPLAY_ILI9341 + #ifdef USE_DISPLAY_ILI9488 AGPIO(GPIO_ILI9488_CS), #endif // USE_DISPLAY_ILI9488 diff --git a/tasmota/xdrv_54_lvgl.ino b/tasmota/xdrv_54_lvgl.ino index 0601ccd6b..68522a823 100644 --- a/tasmota/xdrv_54_lvgl.ino +++ b/tasmota/xdrv_54_lvgl.ino @@ -401,11 +401,11 @@ void start_lvgl(const char * uconfig) { #ifdef USE_BERRY lv_obj_set_style_local_bg_color(lv_scr_act(), LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, lv_color_from_uint32(USE_LVGL_BG_DEFAULT)); lv_obj_set_style_local_bg_opa(lv_scr_act(), LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_COVER); -#endif #if LV_USE_LOG lv_log_register_print_cb(lvbe_debug); #endif // LV_USE_LOG +#endif #ifdef USE_UFILESYS // Add file system mapping