1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

SPRacingF3 - Allow Sonar and Parallel PWM (drops 2 input channels).

Naze32 - Fix initialisation of outputs 5/6 when Parallel PWM and
Sonar are used together with a mixer that needs more than 4 motors.
This commit is contained in:
Dominic Clifton 2015-05-06 21:28:25 +01:00
parent c0aec95e14
commit b04be157b1
4 changed files with 29 additions and 6 deletions

View file

@ -213,6 +213,9 @@ void init(void)
pwm_params.useLEDStrip = feature(FEATURE_LED_STRIP);
pwm_params.usePPM = feature(FEATURE_RX_PPM);
pwm_params.useSerialRx = feature(FEATURE_RX_SERIAL);
#ifdef SONAR
pwm_params.useSonar = feature(FEATURE_SONAR);
#endif
#ifdef USE_SERVOS
pwm_params.useServos = isMixerUsingServos();