From b8b7a0d8ddd8ce8f4b95cf019d6e3a8d690126a7 Mon Sep 17 00:00:00 2001 From: jingli Date: Fri, 2 Sep 2022 11:46:39 +0800 Subject: [PATCH] esp_hw_support/esp32c2/rtc: take a safer xtal buf wait --- components/soc/esp32c2/include/soc/rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/esp32c2/include/soc/rtc.h b/components/soc/esp32c2/include/soc/rtc.h index 58a5cafd51..d4bf9bff3c 100644 --- a/components/soc/esp32c2/include/soc/rtc.h +++ b/components/soc/esp32c2/include/soc/rtc.h @@ -90,7 +90,7 @@ extern "C" { #define RTC_CNTL_SCK_DCAP_DEFAULT 255 /* Various delays to be programmed into power control state machines */ -#define RTC_CNTL_XTL_BUF_WAIT_SLP_US (250) +#define RTC_CNTL_XTL_BUF_WAIT_SLP_US (1000) #define RTC_CNTL_PLL_BUF_WAIT_SLP_CYCLES (1) #define RTC_CNTL_CK8M_WAIT_SLP_CYCLES (4) #define RTC_CNTL_WAKEUP_DELAY_CYCLES (5)