wdt: Fix timeout and RTC_SLOW_CLK

RTC_SLOW_CLK
ESP32:    150kHz
ESP32-S2:  90kHz
ESP32-S3: 150kHz
ESP32-C3: 150kHz
This commit is contained in:
KonstantinKondrashov
2021-03-19 00:15:18 +08:00
parent a90f29fced
commit aa1338bf23
19 changed files with 45 additions and 43 deletions

View File

@@ -72,7 +72,7 @@ static inline void touch_ll_get_measure_times(uint16_t *meas_time)
*/
static inline void touch_ll_set_sleep_time(uint16_t sleep_time)
{
// touch sensor sleep cycle Time = sleep_cycle / RTC_SLOW_CLK(90k)
// touch sensor sleep cycle Time = sleep_cycle / RTC_SLOW_CLK(150k)
RTCCNTL.touch_ctrl1.touch_sleep_cycles = sleep_time;
}