From af490e560b850d75dcf9a86e2dd98bca05425796 Mon Sep 17 00:00:00 2001 From: Tomas Rezucha Date: Thu, 16 Jan 2025 13:22:17 +0100 Subject: [PATCH] fix(cst816s): Provide 100kHz default value for SCL Bug introduced in https://github.com/espressif/esp-bsp/pull/470 Closes https://github.com/espressif/esp-bsp/issues/485 --- components/lcd_touch/esp_lcd_touch_cst816s/idf_component.yml | 2 +- .../esp_lcd_touch_cst816s/include/esp_lcd_touch_cst816s.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lcd_touch/esp_lcd_touch_cst816s/idf_component.yml b/components/lcd_touch/esp_lcd_touch_cst816s/idf_component.yml index 8d658a53..3df0e1e2 100644 --- a/components/lcd_touch/esp_lcd_touch_cst816s/idf_component.yml +++ b/components/lcd_touch/esp_lcd_touch_cst816s/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.5" +version: "1.0.6" description: ESP LCD Touch CST816S - touch controller CST816S url: https://github.com/espressif/esp-bsp/tree/master/components/lcd_touch/esp_lcd_touch_cst816s dependencies: diff --git a/components/lcd_touch/esp_lcd_touch_cst816s/include/esp_lcd_touch_cst816s.h b/components/lcd_touch/esp_lcd_touch_cst816s/include/esp_lcd_touch_cst816s.h index 8e727ff3..36d990a3 100644 --- a/components/lcd_touch/esp_lcd_touch_cst816s/include/esp_lcd_touch_cst816s.h +++ b/components/lcd_touch/esp_lcd_touch_cst816s/include/esp_lcd_touch_cst816s.h @@ -72,7 +72,7 @@ esp_err_t esp_lcd_touch_new_i2c_cst816s(const esp_lcd_panel_io_handle_t io, cons .dc_low_on_data = 0, \ .disable_control_phase = 1, \ }, \ - .scl_speed_hz = 0 \ + .scl_speed_hz = 100000 \ } #endif