mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
fix(esp_system): task wdt now checks the interrupt allocator return value
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user