Merge branch 'bugfix/touch_ll_get_sleep_time_v4.1' into 'release/v4.1'

Fixed error in "touch_ll_get_sleep_time" function for ESP32 (v4.1)

See merge request espressif/esp-idf!16250
This commit is contained in:
morris
2022-03-02 19:19:34 +08:00

View File

@@ -91,7 +91,7 @@ static inline void touch_ll_set_sleep_time(uint16_t sleep_time)
*/ */
static inline void touch_ll_get_sleep_time(uint16_t *sleep_time) static inline void touch_ll_get_sleep_time(uint16_t *sleep_time)
{ {
*sleep_time = SENS.sar_touch_ctrl1.touch_meas_delay; *sleep_time = SENS.sar_touch_ctrl2.touch_sleep_cycles;
} }
/** /**