VTOL: Be more efficient

This commit is contained in:
Lorenz Meier 2016-05-29 16:27:50 +02:00
parent 0354ada5d3
commit 9dd050b393
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,8 @@
px4_add_module(
MODULE modules__vtol_att_control
MAIN vtol_att_control
COMPILE_FLAGS
STACK_MAIN 1300
COMPILE_FLAGS -Os
SRCS
vtol_att_control_main.cpp
tiltrotor.cpp

View File

@ -830,7 +830,7 @@ VtolAttitudeControl::start()
_control_task = px4_task_spawn_cmd("vtol_att_control",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 10,
2048,
1100,
(px4_main_t)&VtolAttitudeControl::task_main_trampoline,
nullptr);