aboutsummaryrefslogtreecommitdiff
path: root/src/modules/bottle_drop
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-11-17 14:59:36 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-11-17 14:59:36 +0100
commit41fe04776f362cf9f0fae6451550df8d5eaf8d99 (patch)
treefaf65177d29ee1b3bc2fdcfb05c6d21f55e1b975 /src/modules/bottle_drop
parentf20f85f0e3c61ce754fd6d9d73745eaa925b3b04 (diff)
downloadpx4-firmware-41fe04776f362cf9f0fae6451550df8d5eaf8d99.tar.gz
px4-firmware-41fe04776f362cf9f0fae6451550df8d5eaf8d99.tar.bz2
px4-firmware-41fe04776f362cf9f0fae6451550df8d5eaf8d99.zip
Fix up stack sizes
Diffstat (limited to 'src/modules/bottle_drop')
-rw-r--r--src/modules/bottle_drop/bottle_drop.cpp2
-rw-r--r--src/modules/bottle_drop/module.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/bottle_drop/bottle_drop.cpp b/src/modules/bottle_drop/bottle_drop.cpp
index 6d24e5d2d..e0bcbc6e9 100644
--- a/src/modules/bottle_drop/bottle_drop.cpp
+++ b/src/modules/bottle_drop/bottle_drop.cpp
@@ -223,7 +223,7 @@ BottleDrop::start()
_main_task = task_spawn_cmd("bottle_drop",
SCHED_DEFAULT,
SCHED_PRIORITY_DEFAULT + 15,
- 2048,
+ 1500,
(main_t)&BottleDrop::task_main_trampoline,
nullptr);
diff --git a/src/modules/bottle_drop/module.mk b/src/modules/bottle_drop/module.mk
index 960228879..df9f5473b 100644
--- a/src/modules/bottle_drop/module.mk
+++ b/src/modules/bottle_drop/module.mk
@@ -41,3 +41,5 @@ SRCS = bottle_drop.cpp \
bottle_drop_params.c
MAXOPTIMIZATION = -Os
+
+MODULE_STACKSIZE = 1200