mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 19:23:34 +08:00
Stack size reduced to 2408. Max stack usage reported by top in EASY mode at 1924.
This commit is contained in:
@@ -126,7 +126,7 @@ int multirotor_pos_control_main(int argc, char *argv[])
|
|||||||
deamon_task = task_spawn_cmd("multirotor_pos_control",
|
deamon_task = task_spawn_cmd("multirotor_pos_control",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 60,
|
SCHED_PRIORITY_MAX - 60,
|
||||||
4096,
|
2408,
|
||||||
multirotor_pos_control_thread_main,
|
multirotor_pos_control_thread_main,
|
||||||
(argv) ? (const char **)&argv[2] : (const char **)NULL);
|
(argv) ? (const char **)&argv[2] : (const char **)NULL);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user