fmuservo increase stack

This commit is contained in:
Daniel Agar 2017-07-09 11:36:51 -04:00 committed by Lorenz Meier
parent 75faf5c7bd
commit 585984fa0c

View File

@ -899,25 +899,21 @@ PX4FMU::publish_pwm_outputs(uint16_t *values, size_t numvalues)
}
}
int
PX4FMU::start()
{
if (!_run_as_task) {
/* schedule a cycle to start things */
work_queue(HPWORK, &_work, (worker_t)&PX4FMU::cycle_trampoline, this, 0);
} else {
/* start the IO interface task */
_task = px4_task_spawn_cmd("fmuservo",
SCHED_DEFAULT,
SCHED_PRIORITY_FAST_DRIVER - 1,
1280,
1310,
(main_t)&PX4FMU::task_main_trampoline,
nullptr);