pub unsafe extern "C" fn esp_task_wdt_reset() -> esp_err_t
Expand description

@brief Reset the Task Watchdog Timer (TWDT) on behalf of the currently running task

This function will reset the TWDT on behalf of the currently running task. Each subscribed task must periodically call this function to prevent the TWDT from timing out. If one or more subscribed tasks fail to reset the TWDT on their own behalf, a TWDT timeout will occur.

@return

  • ESP_OK: Successfully reset the TWDT on behalf of the currently running task
  • Other: Failed to reset