mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-15 22:17:34 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user