mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
esp-system: fixed int WDT reset reason being reported as task WDT on C2
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user