mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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
|
||||
// individually
|
||||
set_pwm_rate(pwm_alt_rate_channels_new, default_rate_min, alt_rate_max);
|
||||
_pwm_initialized = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user