From 18db79e75e30823c4b035358a57e6766405cf89f Mon Sep 17 00:00:00 2001 From: Vilem Zavodny Date: Tue, 11 Jun 2024 15:13:26 +0200 Subject: [PATCH] fix(M5Stack CoreS3): Fixed display types for noglib version --- bsp/m5stack_core_s3/idf_component.yml | 2 +- bsp/m5stack_core_s3/m5stack_core_s3.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bsp/m5stack_core_s3/idf_component.yml b/bsp/m5stack_core_s3/idf_component.yml index dfd072b7..62aa023f 100644 --- a/bsp/m5stack_core_s3/idf_component.yml +++ b/bsp/m5stack_core_s3/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.1.0" +version: "1.1.1" description: Board Support Package (BSP) for M5Stack CoreS3 url: https://github.com/espressif/esp-bsp/tree/master/bsp/m5stack_core_s3 diff --git a/bsp/m5stack_core_s3/m5stack_core_s3.c b/bsp/m5stack_core_s3/m5stack_core_s3.c index eb4e7438..20d8230d 100644 --- a/bsp/m5stack_core_s3/m5stack_core_s3.c +++ b/bsp/m5stack_core_s3/m5stack_core_s3.c @@ -40,8 +40,10 @@ typedef enum { BSP_FEATURE_CAMERA, } bsp_feature_t; +#if (BSP_CONFIG_NO_GRAPHIC_LIB == 0) static lv_display_t *disp; static lv_indev_t *disp_indev = NULL; +#endif // (BSP_CONFIG_NO_GRAPHIC_LIB == 0) static esp_lcd_touch_handle_t tp; // LCD touch handle sdmmc_card_t *bsp_sdcard = NULL; // Global SD card handler static bool i2c_initialized = false;