Skip to content

Commit

Permalink
Merge branch 'bugfix/light_sleep_current' into 'master'
Browse files Browse the repository at this point in the history
soc/rtc: fix increased current consumption in light sleep

See merge request !1483
  • Loading branch information
igrr committed Nov 2, 2017
2 parents 3b03649 + 9bfb45a commit 80eb3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/soc/esp32/rtc_sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 80eb3b6

Please sign in to comment.