From 3cdb55fce857d8a175d80165151d97d8b6942e96 Mon Sep 17 00:00:00 2001 From: Vilem Zavodny Date: Thu, 2 May 2024 14:33:16 +0200 Subject: [PATCH] fix(LVGL port): Fixed I2C example in older IDF. --- .../examples/i2c_oled/main/i2c_oled_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, };