fmuservo increase stack

This commit is contained in:
Daniel Agar
2017-07-09 18:02:55 +02:00
committed by Lorenz Meier
parent 75faf5c7bd
commit 585984fa0c
+1 -5
View File
@@ -899,25 +899,21 @@ PX4FMU::publish_pwm_outputs(uint16_t *values, size_t numvalues)
} }
} }
int int
PX4FMU::start() PX4FMU::start()
{ {
if (!_run_as_task) { if (!_run_as_task) {
/* schedule a cycle to start things */ /* schedule a cycle to start things */
work_queue(HPWORK, &_work, (worker_t)&PX4FMU::cycle_trampoline, this, 0); work_queue(HPWORK, &_work, (worker_t)&PX4FMU::cycle_trampoline, this, 0);
} else { } else {
/* start the IO interface task */ /* start the IO interface task */
_task = px4_task_spawn_cmd("fmuservo", _task = px4_task_spawn_cmd("fmuservo",
SCHED_DEFAULT, SCHED_DEFAULT,
SCHED_PRIORITY_FAST_DRIVER - 1, SCHED_PRIORITY_FAST_DRIVER - 1,
1280, 1310,
(main_t)&PX4FMU::task_main_trampoline, (main_t)&PX4FMU::task_main_trampoline,
nullptr); nullptr);