esp_idf_sys

Function esp_openthread_lock_init

Source
pub unsafe extern "C" fn esp_openthread_lock_init() -> esp_err_t
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