Browse Source

fmuservo increase stack

sbg
Daniel Agar 8 years ago committed by Lorenz Meier
parent
commit
585984fa0c
  1. 6
      src/drivers/px4fmu/fmu.cpp

6
src/drivers/px4fmu/fmu.cpp

@ -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);

Loading…
Cancel
Save