forked from Archive/PX4-Autopilot
Fix the repeated configuration of PWM rate after initialization
This commit is contained in:
parent
b2d73dca26
commit
b898aabfed
|
@ -563,7 +563,6 @@ void PWMOut::update_pwm_out_state(bool on)
|
||||||
|
|
||||||
// Set rate is not affecting non-masked channels, so can be called
|
// Set rate is not affecting non-masked channels, so can be called
|
||||||
// individually
|
// individually
|
||||||
set_pwm_rate(pwm_alt_rate_channels_new, default_rate_min, alt_rate_max);
|
|
||||||
_pwm_initialized = true;
|
_pwm_initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue