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

Fix missing fixed wing throttle control.

This commit is contained in:
Dominic Clifton 2015-07-08 13:59:00 +01:00
parent 763c75873e
commit 7e12711763

View file

@ -797,6 +797,15 @@ void mixTable(void)
}
#if !defined(USE_QUAD_MIXER_ONLY) || defined(USE_SERVOS)
if (STATE(FIXED_WING)) {
if (!ARMING_FLAG(ARMED)) {
motor[0] = escAndServoConfig->mincommand; // Kill throttle when disarmed
} else {
motor[0] = rcCommand[THROTTLE];
}
}
// airplane / servo mixes
switch (currentMixerMode) {
case MIXER_CUSTOM_AIRPLANE: