mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp-system: fixed int WDT reset reason being reported as task WDT on C2
This commit is contained in:
parent
96e1f6e7a2
commit
e0b91b748e
@ -34,7 +34,7 @@ static esp_reset_reason_t get_reset_reason(soc_reset_reason_t rtc_reset_reason,
|
|||||||
return ESP_RST_DEEPSLEEP;
|
return ESP_RST_DEEPSLEEP;
|
||||||
|
|
||||||
case RESET_REASON_CORE_MWDT0:
|
case RESET_REASON_CORE_MWDT0:
|
||||||
return ESP_RST_TASK_WDT;
|
return ESP_RST_INT_WDT;
|
||||||
|
|
||||||
case RESET_REASON_CORE_RTC_WDT:
|
case RESET_REASON_CORE_RTC_WDT:
|
||||||
case RESET_REASON_SYS_RTC_WDT:
|
case RESET_REASON_SYS_RTC_WDT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user