diff --git a/libraries/APM_RC/APM_RC.cpp b/libraries/APM_RC/APM_RC.cpp index 4ce7032795..27de25875d 100644 --- a/libraries/APM_RC/APM_RC.cpp +++ b/libraries/APM_RC/APM_RC.cpp @@ -206,12 +206,12 @@ bool APM_RC_Class::setHIL(int16_t v[NUM_CHANNELS]) sum++; } } - if (sum == 0) { - return 0; - } else { - return 1; - } radio_status = 1; + if (sum == 0) { + return 0; + } else { + return 1; + } } void APM_RC_Class::clearOverride(void)