1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

Have servos output midrc at startup instead of 1ms pulse (full deflection)

This commit is contained in:
DTF UHF 2014-02-14 15:15:38 -05:00
parent 4e44cf62a2
commit ac94147589
3 changed files with 3 additions and 1 deletions

View file

@ -73,6 +73,7 @@ int main(void)
pwm_params.idlePulse = mcfg.neutral3d;
if (pwm_params.motorPwmRate > 500)
pwm_params.idlePulse = 0; // brushed motors
pwm_params.servoCenterPulse = mcfg.midrc;
pwm_params.failsafeThreshold = cfg.failsafe_detect_threshold;
switch (mcfg.power_adc_channel) {
case 1: