forked from Archive/PX4-Autopilot
FW pos control: Adjust stack size to real use
This commit is contained in:
parent
d5c59b515b
commit
110930dc0e
|
@ -1624,7 +1624,7 @@ FixedwingPositionControl::start()
|
|||
_control_task = task_spawn_cmd("fw_pos_control_l1",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX - 5,
|
||||
2000,
|
||||
1600,
|
||||
(main_t)&FixedwingPositionControl::task_main_trampoline,
|
||||
nullptr);
|
||||
|
||||
|
|
|
@ -44,6 +44,8 @@ SRCS = fw_pos_control_l1_main.cpp \
|
|||
mtecs/limitoverride.cpp \
|
||||
mtecs/mTecs_params.c
|
||||
|
||||
# Startup handler, the actual app stack size is
|
||||
# in the task_spawn command
|
||||
MODULE_STACKSIZE = 1200
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
Loading…
Reference in New Issue