esp_system: Fix RTC_WDT protection in esp_restart_noos

Fixed issue - v4.3 app not compatible with 3.1 bootloader
This commit is contained in:
KonstantinKondrashov 2021-12-21 14:45:00 +08:00
parent 03d3c43882
commit 8f2045f0da

View File

@ -56,7 +56,6 @@ void IRAM_ATTR esp_restart_noos(void)
//Enable flash boot mode so that flash booting after restart is protected by the RTC WDT.
wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true);
wdt_hal_write_protect_enable(&rtc_wdt_ctx);
// Reset and stall the other CPU.
// CPU must be reset before stalling, in case it was running a s32c1i