[][src]Function esp_idf_bindgen::esp_event_loop_init

pub unsafe extern "C" fn esp_event_loop_init(
    cb: system_event_cb_t,
    ctx: *mut c_void
) -> esp_err_t

@brief Initialize event loop

@note This API is part of the legacy event system. New code should use event library API in esp_event.h

Create the event handler and task

@param cb application specified event callback, it can be modified by call esp_event_set_cb @param ctx reserved for user

@return