Skip to content

Commit

Permalink
Fix the repeated configuration of PWM rate after initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
CUAVcaijie authored and LorenzMeier committed Apr 27, 2021
1 parent b2d73dc commit b898aab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/drivers/pwm_out/PWMOut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b898aab

Please sign in to comment.