esp-system: fixed int WDT reset reason being reported as task WDT on C2

This commit is contained in:
Marius Vikhammer 2023-05-12 18:32:24 +08:00
parent cea9f80870
commit 0722386585

View File

@ -34,7 +34,7 @@ static esp_reset_reason_t get_reset_reason(soc_reset_reason_t rtc_reset_reason,
return ESP_RST_DEEPSLEEP;
case RESET_REASON_CORE_MWDT0:
return ESP_RST_TASK_WDT;
return ESP_RST_INT_WDT;
case RESET_REASON_CORE_RTC_WDT:
case RESET_REASON_SYS_RTC_WDT: