aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-01-30 00:54:55 -0800
committerLorenz Meier <lm@inf.ethz.ch>2014-01-30 00:54:55 -0800
commit3b31a6b1b9756eb191eaaafb1c137e6874079281 (patch)
tree359f2caf74e019ea452c3b0fdc17a8643bc42651 /src/drivers
parent70afb3ca3b3f1844241c9c9312579bbb2475232c (diff)
parent44cb4d96171fae0bcd5dd4bdf5cb668a039727b5 (diff)
downloadpx4-firmware-3b31a6b1b9756eb191eaaafb1c137e6874079281.tar.gz
px4-firmware-3b31a6b1b9756eb191eaaafb1c137e6874079281.tar.bz2
px4-firmware-3b31a6b1b9756eb191eaaafb1c137e6874079281.zip
Merge pull request #620 from pigeonhunter/stack_sizes
Stack sizes
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/gps/gps.cpp2
-rw-r--r--src/drivers/px4io/px4io.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/gps/gps.cpp b/src/drivers/gps/gps.cpp
index 6b72d560f..f2faf711b 100644
--- a/src/drivers/gps/gps.cpp
+++ b/src/drivers/gps/gps.cpp
@@ -209,7 +209,7 @@ GPS::init()
goto out;
/* start the GPS driver worker task */
- _task = task_create("gps", SCHED_PRIORITY_SLOW_DRIVER, 2048, (main_t)&GPS::task_main_trampoline, nullptr);
+ _task = task_create("gps", SCHED_PRIORITY_SLOW_DRIVER, 1280, (main_t)&GPS::task_main_trampoline, nullptr);
if (_task < 0) {
warnx("task start failed: %d", errno);
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp
index 9595518ec..ed75d7680 100644
--- a/src/drivers/px4io/px4io.cpp
+++ b/src/drivers/px4io/px4io.cpp
@@ -759,7 +759,7 @@ PX4IO::init()
}
/* start the IO interface task */
- _task = task_create("px4io", SCHED_PRIORITY_ACTUATOR_OUTPUTS, 2048, (main_t)&PX4IO::task_main_trampoline, nullptr);
+ _task = task_create("px4io", SCHED_PRIORITY_ACTUATOR_OUTPUTS, 1024, (main_t)&PX4IO::task_main_trampoline, nullptr);
if (_task < 0) {
debug("task start failed: %d", errno);