mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user