mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-14 09:17:35 +08:00
be68354b6a
This uses px4_task_spawn_cmd instead of pthread, since px4_task_spawn_cmd is already made to start worker on proper side. TODO: check that we don't accidentally run user-side code in kernel context in work queue. The work items should be scheduled to work queues depending on whether the actual callback is on kerne/user side. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>