Function esp_idf_hal::sys::esp_timer_delete
source ยท pub unsafe extern "C" fn esp_timer_delete(
timer: *mut esp_timer,
) -> i32
Expand description
@brief Delete an esp_timer instance
The timer must be stopped before deleting. A one-shot timer which has expired does not need to be stopped.
@param timer timer handle allocated using esp_timer_create @return - ESP_OK on success - ESP_ERR_INVALID_STATE if the timer is running