mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 04:33:33 +08:00
Fix the repeated configuration of PWM rate after initialization
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user