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