Function esp_idf_sys::esp_timer_delete
source ยท pub unsafe extern "C" fn esp_timer_delete(
timer: esp_timer_handle_t,
) -> esp_err_t
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