]> granicus.if.org Git - esp-idf/commit
soc/rtc: don't power down BIAS_I2C along with APLL if other PLL is used
authorIvan Grokhotkov <ivan@espressif.com>
Mon, 20 Nov 2017 07:27:16 +0000 (15:27 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 20 Nov 2017 07:27:16 +0000 (15:27 +0800)
commit3369f15fa3c46a09b5dcf1a2e05e260c921b1e87
treedb40bb31d22703740c7a5ecd05f2f5c4a0117bff
parent4395f7c94ec764526c0c13a9b6cf2ef067cae873
soc/rtc: don't power down BIAS_I2C along with APLL if other PLL is used

If enable == false, and SOC_CLK_SEL == PLL, the code would would
erroneously set RTC_CNTL_BIAS_I2C_FORCE_PD. This change fixes the logic.
components/soc/esp32/rtc_clk.c