mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 05:33:33 +08:00
Logger: Run at lower priority than core control pipeline
This should ensure that controllers run first and log data copying happens after. ;
This commit is contained in:
@@ -211,7 +211,7 @@ int Logger::start(char *const *argv)
|
||||
/* start the task */
|
||||
logger_task = px4_task_spawn_cmd("logger",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX - 5,
|
||||
SCHED_PRIORITY_MAX - 10,
|
||||
3600,
|
||||
(px4_main_t)&Logger::run_trampoline,
|
||||
(char *const *)argv);
|
||||
|
||||
Reference in New Issue
Block a user