mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 20:19:06 +08:00
FW att control: Adjust stack size to real use
This commit is contained in:
parent
7d87da700c
commit
d5c59b515b
@ -1119,7 +1119,7 @@ FixedwingAttitudeControl::start()
|
||||
_control_task = task_spawn_cmd("fw_att_control",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX - 5,
|
||||
2048,
|
||||
1600,
|
||||
(main_t)&FixedwingAttitudeControl::task_main_trampoline,
|
||||
nullptr);
|
||||
|
||||
|
||||
@ -40,6 +40,8 @@ MODULE_COMMAND = fw_att_control
|
||||
SRCS = fw_att_control_main.cpp \
|
||||
fw_att_control_params.c
|
||||
|
||||
# Startup handler, the actual app stack size is
|
||||
# in the task_spawn command
|
||||
MODULE_STACKSIZE = 1200
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user