refactor(clk): deprecate SOC_RTC_FAST_CLK_SRC_XTAL_DIV

This commit is contained in:
Song Ruo Jing
2024-08-06 21:55:21 +08:00
parent ce6085349f
commit 92ed77933b
38 changed files with 115 additions and 37 deletions

View File

@@ -64,7 +64,7 @@ __attribute__((weak)) void bootloader_clock_configure(void)
// RTC_FAST clock source will be switched to RC_FAST at application startup
clk_cfg.fast_clk_src = rtc_clk_fast_src_get();
if (clk_cfg.fast_clk_src == SOC_RTC_FAST_CLK_SRC_INVALID) {
clk_cfg.fast_clk_src = SOC_RTC_FAST_CLK_SRC_XTAL_DIV;
clk_cfg.fast_clk_src = SOC_RTC_FAST_CLK_SRC_DEFAULT;
}
#if CONFIG_IDF_TARGET_ESP32C6