From 05b1b5a9b2d371316c687cd82c6e5ee63bc39ab3 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Thu, 26 Feb 2015 12:15:15 +0000 Subject: [PATCH] Ensure motor[0] is used, see 46a0054d784ba638435257ee6b75e5cea43f0983 --- src/main/flight/mixer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/flight/mixer.c b/src/main/flight/mixer.c index 875ea3bb08..ff779782ed 100755 --- a/src/main/flight/mixer.c +++ b/src/main/flight/mixer.c @@ -664,9 +664,7 @@ void mixTable(void) if (ARMING_FLAG(ARMED)) { - int16_t maxMotor; - - maxMotor = 0; + int16_t maxMotor = motor[0]; for (i = 1; i < motorCount; i++) { if (motor[i] > maxMotor) { maxMotor = motor[i];