aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/px4io/px4io.cpp
diff options
context:
space:
mode:
authorDarryl Taylor <darryl.c.taylor@gmail.com>2014-01-28 09:57:47 +0800
committerDarryl Taylor <darryl.c.taylor@gmail.com>2014-01-28 09:57:47 +0800
commitdfaa5a0c7c81f432d64cfffdaaf3d683c01f10b4 (patch)
tree1fe10392b237743644b4221e2ec53b0908fc9dfb /src/drivers/px4io/px4io.cpp
parent8149bf95fc7882c259196bb171acfa418d21467a (diff)
downloadpx4-firmware-dfaa5a0c7c81f432d64cfffdaaf3d683c01f10b4.tar.gz
px4-firmware-dfaa5a0c7c81f432d64cfffdaaf3d683c01f10b4.tar.bz2
px4-firmware-dfaa5a0c7c81f432d64cfffdaaf3d683c01f10b4.zip
Reduced stack from 2048 to 1024. Top reports stack usage at 812 under flight conditions.
Diffstat (limited to 'src/drivers/px4io/px4io.cpp')
-rw-r--r--src/drivers/px4io/px4io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp
index df847a64d..dbe97a178 100644
--- a/src/drivers/px4io/px4io.cpp
+++ b/src/drivers/px4io/px4io.cpp
@@ -756,7 +756,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);