Function esp_idf_svc::hal::sys::esp_task_wdt_delete

source ยท
pub unsafe extern "C" fn esp_task_wdt_delete(
    task_handle: *mut tskTaskControlBlock,
) -> i32
Expand description

@brief Unsubscribes a task from the Task Watchdog Timer (TWDT)

This function will unsubscribe a task from the TWDT. After being unsubscribed, the task should no longer call esp_task_wdt_reset().

@param[in] task_handle Handle of the task. Input NULL to unsubscribe the current running task. @return

  • ESP_OK: Successfully unsubscribed the task from the TWDT
  • Other: Failed to unsubscribe task