pub unsafe extern "C" fn furi_thread_set_callback(
thread: *mut FuriThread,
callback: FuriThreadCallback,
)Expand description
Set the user callback function to be executed in a FuriThread.
The thread MUST be stopped when calling this function.
ยงArguments
thread(direction in, out) - pointer to the FuriThread instance to be modifiedcallback(direction in) - pointer to a user-specified function to be executed in this thread