FW pos control: Adjust stack size to real use

This commit is contained in:
Lorenz Meier 2015-03-08 08:14:15 +01:00
parent d5c59b515b
commit 110930dc0e
2 changed files with 3 additions and 1 deletions

View File

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

View File

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