From 0722386585b88f1d780097c8b5dec63470d09146 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Fri, 12 May 2023 18:32:24 +0800 Subject: [PATCH] esp-system: fixed int WDT reset reason being reported as task WDT on C2 --- components/esp_system/port/soc/esp32c2/reset_reason.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_system/port/soc/esp32c2/reset_reason.c b/components/esp_system/port/soc/esp32c2/reset_reason.c index 29099e24f8..494707fb0f 100644 --- a/components/esp_system/port/soc/esp32c2/reset_reason.c +++ b/components/esp_system/port/soc/esp32c2/reset_reason.c @@ -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: