Commander: Fix scheduling so its not running at higher prio than control apps

This commit is contained in:
Lorenz Meier 2015-11-29 17:05:01 +01:00
parent 65002d279f
commit a9fb11829f
1 changed files with 1 additions and 1 deletions

View File

@ -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]);