mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Fix CJMCU build (broken in 08efc2e
)
This commit is contained in:
parent
0d8889c8ef
commit
c085b2c61d
1 changed files with 4 additions and 1 deletions
|
@ -704,7 +704,10 @@ void loop(void)
|
|||
// motors do not spin up while we are trying to arm or disarm.
|
||||
// Allow yaw control for tricopters if the user wants the servo to move even when unarmed.
|
||||
if (isUsingSticksForArming() && rcData[THROTTLE] <= masterConfig.rxConfig.mincheck
|
||||
&& !(masterConfig.mixerMode == MIXER_TRI && masterConfig.mixerConfig.tri_unarmed_servo)) {
|
||||
#ifndef USE_QUAD_MIXER_ONLY
|
||||
&& !(masterConfig.mixerMode == MIXER_TRI && masterConfig.mixerConfig.tri_unarmed_servo)
|
||||
#endif
|
||||
) {
|
||||
rcCommand[YAW] = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue