mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 12:47:35 +08:00
Commander: Fix scheduling so its not running at higher prio than control apps
This commit is contained in:
@@ -300,7 +300,7 @@ int commander_main(int argc, char *argv[])
|
||||
thread_should_exit = false;
|
||||
daemon_task = px4_task_spawn_cmd("commander",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX - 40,
|
||||
SCHED_PRIORITY_DEFAULT + 40,
|
||||
3600,
|
||||
commander_thread_main,
|
||||
(char * const *)&argv[0]);
|
||||
|
||||
Reference in New Issue
Block a user