mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 14:00:35 +08:00
7e7513bc15
The simulator was using pthread APIs directly so calls to px4_getpid() would fail since the task ID was not known. Changed simulator to use px4_task_spawn_cmd. Signed-off-by: Mark Charlebois <charlebm@gmail.com>