esp_task_wdt_restart() function
Restart the Task Watchdog Timer (TWDT) This function will restart the timer after it has been stopped by esp_task_wdt_stop().
Return value
- ESP_OK: TWDT successfully stopped - Other: Failed to stop the TWDT
Notes
esp_task_wdt_restart() must not be called by multiple tasks simultaneously.
esp_task_wdt_restart() calls 3 functions:
![]()
esp_task_wdt_restart()
esp_task_wdt_restart() reads 2 variables:
![]()
esp_task_wdt_restart()