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

@brief 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.

@note esp_task_wdt_deinit() must not be called by multiple tasks simultaneously. @return

  • ESP_OK: TWDT successfully deinitialized
  • Other: Failed to deinitialize TWDT