esp_task_wdt_reconfigure() function
Reconfigure the Task Watchdog Timer (TWDT) The function reconfigures the running TWDT. It must already be initialized when this function is called.
Arguments
config
Configuration structure
Return value
- ESP_OK: Reconfiguring was successful - ESP_ERR_INVALID_STATE: TWDT not initialized yet - Other: Failed to initialize TWDT
Notes
esp_task_wdt_reconfigure() must not be called by multiple tasks simultaneously.