esp_task_wdt_deinit() function
Deinitialize the Task Watchdog Timer (TWDT) This function will deinitialize the TWDT, and unsubscribe any idle tasks. Calling this function whilst other tasks are still subscribed to the TWDT, or when the TWDT is already deinitialized, will result in an error code being returned.
Return value
- ESP_OK: TWDT successfully deinitialized - Other: Failed to deinitialize TWDT
Notes
esp_task_wdt_deinit() must not be called by multiple tasks simultaneously.
esp_task_wdt_deinit() calls 9 functions:
![]()
esp_task_wdt_deinit()
esp_task_wdt_deinit() reads 9 variables and writes 1 variable:
![]()
esp_task_wdt_deinit()
esp_task_wdt_deinit() allocates 1 types:
![]()
esp_task_wdt_deinit()