diff options
author | Darryl Taylor <darryl.c.taylor@gmail.com> | 2014-01-28 09:57:47 +0800 |
---|---|---|
committer | Darryl Taylor <darryl.c.taylor@gmail.com> | 2014-01-28 09:57:47 +0800 |
commit | dfaa5a0c7c81f432d64cfffdaaf3d683c01f10b4 (patch) | |
tree | 1fe10392b237743644b4221e2ec53b0908fc9dfb | |
parent | 8149bf95fc7882c259196bb171acfa418d21467a (diff) | |
download | px4-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.
-rw-r--r-- | src/drivers/px4io/px4io.cpp | 2 |
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); |