From c085b2c61d5102776c7d4e0501cd59a81a4bdb0c Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Wed, 22 Apr 2015 20:24:23 +0100 Subject: [PATCH] Fix CJMCU build (broken in 08efc2e) --- src/main/mw.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/mw.c b/src/main/mw.c index 09f1915639..f145f99f47 100644 --- a/src/main/mw.c +++ b/src/main/mw.c @@ -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; }