FW att control: Adjust stack size to real use

This commit is contained in:
Lorenz Meier 2015-03-08 08:13:54 +01:00
parent 7d87da700c
commit d5c59b515b
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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