forked from Archive/PX4-Autopilot
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;
|
thread_should_exit = false;
|
||||||
daemon_task = px4_task_spawn_cmd("commander",
|
daemon_task = px4_task_spawn_cmd("commander",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 40,
|
SCHED_PRIORITY_DEFAULT + 40,
|
||||||
3600,
|
3600,
|
||||||
commander_thread_main,
|
commander_thread_main,
|
||||||
(char * const *)&argv[0]);
|
(char * const *)&argv[0]);
|
||||||
|
|
Loading…
Reference in New Issue