mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 07:33:37 +08:00
fmuservo increase stack
This commit is contained in:
committed by
Lorenz Meier
parent
75faf5c7bd
commit
585984fa0c
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user