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:
parent
c0aec95e14
commit
b04be157b1
4 changed files with 29 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue