Reduced stack from 2048 to 1024. Top reports stack usage at 812 under flight conditions.

This commit is contained in:
Darryl Taylor
2014-01-28 09:57:47 +08:00
parent 8149bf95fc
commit dfaa5a0c7c
+1 -1
View File
@@ -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);