Merge branch 'bugfix/task_wdt_not_checking_ret' into 'master'

fix(esp_system): task wdt now checks the interrupt allocator return value

Closes IDF-13478

See merge request espressif/esp-idf!40155
This commit is contained in:
Omar Chebib
2025-06-27 09:42:51 +08:00

View File

@@ -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) {