diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-08 08:14:15 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-08 08:14:15 +0100 |
commit | 110930dc0e52e60f2478e27e6b78dc0d9e3033f7 (patch) | |
tree | ad5a61385207a55c9b67d77a506964a1f0a63471 /src/modules | |
parent | d5c59b515b8f6670a45f666bda926f008dc2efd0 (diff) | |
download | px4-firmware-110930dc0e52e60f2478e27e6b78dc0d9e3033f7.tar.gz px4-firmware-110930dc0e52e60f2478e27e6b78dc0d9e3033f7.tar.bz2 px4-firmware-110930dc0e52e60f2478e27e6b78dc0d9e3033f7.zip |
FW pos control: Adjust stack size to real use
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp | 2 | ||||
-rw-r--r-- | src/modules/fw_pos_control_l1/module.mk | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp index 0bdc285e7..427df9739 100644 --- a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp +++ b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp @@ -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); diff --git a/src/modules/fw_pos_control_l1/module.mk b/src/modules/fw_pos_control_l1/module.mk index 98e5c0a1e..8a8de708e 100644 --- a/src/modules/fw_pos_control_l1/module.mk +++ b/src/modules/fw_pos_control_l1/module.mk @@ -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 |