Explorar o código

esp_system: Fix RTC_WDT protection in esp_restart_noos

Fixed issue - v4.3 app not compatible with 3.1 bootloader
KonstantinKondrashov %!s(int64=4) %!d(string=hai) anos
pai
achega
18f2078c5c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      components/esp32/system_api_esp32.c

+ 0 - 1
components/esp32/system_api_esp32.c

@@ -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