mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Use same PWM mapping for PPM and Serial RX
Without this fix an Octocopter with serialh RX will not work. Standard receiver mapping with only 6 motors outputs will apply.
This commit is contained in:
parent
f5a579de14
commit
4b0d5e7e15
3 changed files with 4 additions and 1 deletions
|
@ -269,6 +269,7 @@ void init(void)
|
|||
pwm_params.useCurrentMeterADC = feature(FEATURE_CURRENT_METER);
|
||||
pwm_params.useLEDStrip = feature(FEATURE_LED_STRIP);
|
||||
pwm_params.usePPM = feature(FEATURE_RX_PPM);
|
||||
pwm_params.useSerialRx = feature(FEATURE_RX_SERIAL);
|
||||
pwm_params.useServos = isMixerUsingServos();
|
||||
pwm_params.extraServos = currentProfile->gimbalConfig.gimbal_flags & GIMBAL_FORWARDAUX;
|
||||
pwm_params.motorPwmRate = masterConfig.motor_pwm_rate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue