esp_idf_svc::sys

Function esp_openthread_lock_init

Source
pub unsafe extern "C" fn esp_openthread_lock_init() -> i32
Expand description

@brief This function initializes the OpenThread API lock.

@return - ESP_OK on success - ESP_ERR_NO_MEM if allocation has failed - ESP_ERR_INVALID_STATE if already initialized