diff --git a/components/esp_lvgl_port/examples/i2c_oled/main/i2c_oled_example_main.c b/components/esp_lvgl_port/examples/i2c_oled/main/i2c_oled_example_main.c index fe37ccb02..9347e887d 100644 --- a/components/esp_lvgl_port/examples/i2c_oled/main/i2c_oled_example_main.c +++ b/components/esp_lvgl_port/examples/i2c_oled/main/i2c_oled_example_main.c @@ -92,7 +92,7 @@ void app_main(void) #endif }; #if CONFIG_EXAMPLE_LCD_CONTROLLER_SSD1306 -#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,0,0)) +#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,3,0)) esp_lcd_panel_ssd1306_config_t ssd1306_config = { .height = EXAMPLE_LCD_V_RES, };