mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
soc/rtc: fix increased current consumption in light sleep
This fixes a configuration issue of RTC, which caused light sleep current to be 1.35mA instead of 0.85mA.
This commit is contained in:
@@ -195,7 +195,7 @@ void rtc_sleep_init(rtc_sleep_config_t cfg)
|
||||
RTC_CNTL_RFRX_PBUS_PU | RTC_CNTL_TXRF_I2C_PU);
|
||||
} else {
|
||||
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_DG_WRAP_PD_EN);
|
||||
SET_PERI_REG_MASK(RTC_CNTL_OPTIONS0_REG, RTC_CNTL_BIAS_FORCE_NOSLEEP);
|
||||
REG_SET_FIELD(RTC_CNTL_BIAS_CONF_REG, RTC_CNTL_DBG_ATTEN, 0);
|
||||
}
|
||||
|
||||
if (cfg.vddsdio_pd_en) {
|
||||
|
Reference in New Issue
Block a user