1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Minor cleanup and rename of fastpwm lookup table

This commit is contained in:
blckmn 2016-06-24 20:19:03 +10:00
parent 2af1130666
commit 339bd0b0d3
4 changed files with 7 additions and 13 deletions

View file

@ -322,6 +322,7 @@ void init(void)
pwm_params.idlePulse = masterConfig.escAndServoConfig.mincommand;
if (feature(FEATURE_3D))
pwm_params.idlePulse = masterConfig.flight3DConfig.neutral3d;
if (masterConfig.motor_pwm_protocol == PWM_TYPE_BRUSHED) {
pwm_params.idlePulse = 0; // brushed motors
use_unsyncedPwm = false;