Browse Source

Fix the repeated configuration of PWM rate after initialization

release/1.12
CUAVcaijie 4 years ago committed by Lorenz Meier
parent
commit
b898aabfed
  1. 1
      src/drivers/pwm_out/PWMOut.cpp

1
src/drivers/pwm_out/PWMOut.cpp

@ -563,7 +563,6 @@ void PWMOut::update_pwm_out_state(bool on) @@ -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…
Cancel
Save