From b898aabfed4926b75786b951215c5bd10768a9a9 Mon Sep 17 00:00:00 2001 From: CUAVcaijie Date: Tue, 20 Apr 2021 17:14:58 +0800 Subject: [PATCH] Fix the repeated configuration of PWM rate after initialization --- src/drivers/pwm_out/PWMOut.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/drivers/pwm_out/PWMOut.cpp b/src/drivers/pwm_out/PWMOut.cpp index c1aa29e7f2fa..e6e0de9c431a 100644 --- a/src/drivers/pwm_out/PWMOut.cpp +++ b/src/drivers/pwm_out/PWMOut.cpp @@ -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; }