mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
soc/rtc: update frequency switching APIs to match the master branch
esp32s2 code was based in IDF v3.1, and used outdated APIs. Closes IDF-670
This commit is contained in:
@@ -94,7 +94,7 @@ void IRAM_ATTR esp_restart_noos(void)
|
||||
DPORT_REG_WRITE(DPORT_PERIP_RST_EN_REG, 0);
|
||||
|
||||
// Set CPU back to XTAL source, no PLL, same as hard reset
|
||||
rtc_clk_cpu_freq_set(RTC_CPU_FREQ_XTAL);
|
||||
rtc_clk_cpu_freq_set_xtal();
|
||||
|
||||
// Reset CPUs
|
||||
if (core_id == 0) {
|
||||
|
Reference in New Issue
Block a user