px4io: ensure pwm params are loaded before any other module starts

The vtol module will read them later on.
This commit is contained in:
Beat Küng 2021-06-25 14:21:22 +02:00 committed by Daniel Agar
parent 962c2cc960
commit 894ecac8da

View File

@ -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,