mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Fix missing fixed wing throttle control.
This commit is contained in:
parent
763c75873e
commit
7e12711763
1 changed files with 9 additions and 0 deletions
|
@ -797,6 +797,15 @@ void mixTable(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(USE_QUAD_MIXER_ONLY) || defined(USE_SERVOS)
|
#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
|
// airplane / servo mixes
|
||||||
switch (currentMixerMode) {
|
switch (currentMixerMode) {
|
||||||
case MIXER_CUSTOM_AIRPLANE:
|
case MIXER_CUSTOM_AIRPLANE:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue