Function esp_idf_svc::hal::sys::esp_event_loop_create_default
source ยท pub unsafe extern "C" fn esp_event_loop_create_default() -> i32
Expand description
@brief Create default event loop
@return
- ESP_OK: Success
- ESP_ERR_NO_MEM: Cannot allocate memory for event loops list
- ESP_ERR_INVALID_STATE: Default event loop has already been created
- ESP_FAIL: Failed to create task loop
- Others: Fail