mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
touch: fix the touch sensor wait cycle on s3
This commit is contained in:

committed by
Kevin (Lao Kaiyao)

parent
55fd823001
commit
93b162c767
@@ -59,7 +59,7 @@ void rtc_init(rtc_config_t cfg)
|
||||
/* Reset RTC bias to default value (needed if waking up from deep sleep) */
|
||||
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
|
||||
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_SLP, RTC_CNTL_DBIAS_1V10);
|
||||
/* Recover default wait cycle for touch or COCPU after wakeup from deep sleep. */
|
||||
/* Set the wait time to the default value. */
|
||||
REG_SET_FIELD(RTC_CNTL_TIMER2_REG, RTC_CNTL_ULPCP_TOUCH_START_WAIT, RTC_CNTL_ULPCP_TOUCH_START_WAIT_DEFAULT);
|
||||
|
||||
if (cfg.clkctl_init) {
|
||||
|
Reference in New Issue
Block a user