mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00: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