From 20da6a9a5c1c8597c7c43c1778c2257c7d648441 Mon Sep 17 00:00:00 2001 From: Omar Chebib Date: Thu, 26 Jun 2025 11:38:38 +0800 Subject: [PATCH] fix(esp_system): task wdt now checks the interrupt allocator return value --- components/esp_system/task_wdt/task_wdt_impl_timergroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_system/task_wdt/task_wdt_impl_timergroup.c b/components/esp_system/task_wdt/task_wdt_impl_timergroup.c index ec408377f6..46fc6a9f6f 100644 --- a/components/esp_system/task_wdt/task_wdt_impl_timergroup.c +++ b/components/esp_system/task_wdt/task_wdt_impl_timergroup.c @@ -106,7 +106,7 @@ esp_err_t esp_task_wdt_impl_timer_allocate(const esp_task_wdt_config_t *config, } if (ret == ESP_OK) { - esp_intr_alloc(TWDT_INTR_SOURCE, 0, callback, NULL, &ctx->intr_handle); + ret = esp_intr_alloc(TWDT_INTR_SOURCE, 0, callback, NULL, &ctx->intr_handle); } if (ret == ESP_OK) {