From e2879b375ddf44276284df76b24d5efe4af04f88 Mon Sep 17 00:00:00 2001 From: Robert Lefebvre Date: Mon, 28 Dec 2015 19:06:11 -0500 Subject: [PATCH] Copter: fix Ch6 Tuning when no RC Receiver on boot --- ArduCopter/tuning.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/tuning.cpp b/ArduCopter/tuning.cpp index 86fac7a669..2b3ca930ca 100644 --- a/ArduCopter/tuning.cpp +++ b/ArduCopter/tuning.cpp @@ -11,8 +11,8 @@ // should be called at 3.3hz void Copter::tuning() { - // exit immediately if not tuning of when radio failsafe is invoked so tuning values are not set to zero - if ((g.radio_tuning <= 0) || failsafe.radio || failsafe.radio_counter != 0) { + // exit immediately if not using tuning function, or when radio failsafe is invoked, so tuning values are not set to zero + if ((g.radio_tuning <= 0) || failsafe.radio || failsafe.radio_counter != 0 || g.rc_6.radio_in == 0) { return; }