forked from Archive/PX4-Autopilot
pwm out: disable PWM parameter update on param change
Only update PWM params on initialisation. Updating PWM params on param change was interfering with VTOL parameter settings (e.g. PWM_MIN is set by VTOL at init, and was then overwritten here after an arbitrary param change). Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
c6d5bd868e
commit
697d713faf
|
@ -640,7 +640,7 @@ void PWMOut::Run()
|
|||
_parameter_update_sub.copy(&pupdate);
|
||||
|
||||
// update parameters from storage
|
||||
update_params();
|
||||
// update_params(); // do not update PWM params for now (was interfering with VTOL PWM settings)
|
||||
}
|
||||
|
||||
if (_current_update_rate == 0) {
|
||||
|
|
Loading…
Reference in New Issue