Skip to content

Commit 9ffc9e5

Browse files
authored
Merge pull request #589 from qsaramo/fix/esp-box-3_noglib_bsp_touch_new
bsp(esp-box-3): Fix bsp_touch_new availability in noglib version (BSP-690)
2 parents d7ada30 + f9f38f3 commit 9ffc9e5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bsp/esp-box-3/esp-box-3.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ static esp_err_t bsp_touch_exit_sleep(void)
658658
assert(tp);
659659
return esp_lcd_touch_exit_sleep(tp);
660660
}
661+
#endif // (BSP_CONFIG_NO_GRAPHIC_LIB == 0)
661662

662663
esp_err_t bsp_touch_new(const bsp_touch_config_t *config, esp_lcd_touch_handle_t *ret_touch)
663664
{
@@ -710,6 +711,7 @@ esp_err_t bsp_touch_new(const bsp_touch_config_t *config, esp_lcd_touch_handle_t
710711
return ESP_OK;
711712
}
712713

714+
#if (BSP_CONFIG_NO_GRAPHIC_LIB == 0)
713715
static lv_indev_t *bsp_display_indev_init(lv_display_t *disp)
714716
{
715717
BSP_ERROR_CHECK_RETURN_NULL(bsp_touch_new(NULL, &tp));

bsp/esp-box-3/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
version: "3.0.0~1"
2+
version: "3.0.1"
33
description: Board Support Package (BSP) for ESP32-S3-BOX-3
44
url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp-box-3
55

0 commit comments

Comments
 (0)