Function flipper0::ffi::furi_thread_set_state_callback
source · pub unsafe extern "C" fn furi_thread_set_state_callback(
thread: *mut FuriThread,
callback: Option<unsafe extern "C" fn(FuriThreadState, *mut c_void)>
)
Expand description
Set FuriThread state change callback
@param thread FuriThread instance @param callback state change callback