mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 07:23:34 +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;
|
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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user