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 ddb7d6c4a0
commit 18f2078c5c

View File

@ -57,7 +57,6 @@ void IRAM_ATTR esp_restart_noos(void)
wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM);
wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC);
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