mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Commander: Fix scheduling so its not running at higher prio than control apps
This commit is contained in:
parent
65002d279f
commit
a9fb11829f
@ -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]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user