MC position controller: Adjust stack size of handler and app

This commit is contained in:
Lorenz Meier 2015-03-08 08:15:45 +01:00
parent 4177078ff0
commit 033372cc78
2 changed files with 5 additions and 1 deletions

View File

@ -1426,7 +1426,7 @@ MulticopterPositionControl::start()
_control_task = task_spawn_cmd("mc_pos_control",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 5,
1800,
1600,
(main_t)&MulticopterPositionControl::task_main_trampoline,
nullptr);

View File

@ -39,3 +39,7 @@ MODULE_COMMAND = mc_pos_control
SRCS = mc_pos_control_main.cpp \
mc_pos_control_params.c
# Startup handler, the actual app stack size is
# in the task_spawn command
MODULE_STACKSIZE = 1200