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:
parent
4e44cf62a2
commit
ac94147589
3 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue