mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
px4io: ensure pwm params are loaded before any other module starts
The vtol module will read them later on.
This commit is contained in:
parent
962c2cc960
commit
894ecac8da
@ -853,6 +853,9 @@ PX4IO::init()
|
||||
_primary_pwm_device = true;
|
||||
}
|
||||
|
||||
/* ensure PWM limits are applied before any other module starts */
|
||||
update_params();
|
||||
|
||||
/* start the IO interface task */
|
||||
_task = px4_task_spawn_cmd("px4io",
|
||||
SCHED_DEFAULT,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user