From 530eeb41846c7e9120d8e679162e572b3a3745e1 Mon Sep 17 00:00:00 2001 From: "deweibel@gmail.com" Date: Mon, 30 May 2011 03:44:07 +0000 Subject: [PATCH] Fix bug for GCS joystick control git-svn-id: https://arducopter.googlecode.com/svn/trunk@2440 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/APM_RC/APM_RC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/APM_RC/APM_RC.cpp b/libraries/APM_RC/APM_RC.cpp index 7e3dda2cbd..e234f847ba 100644 --- a/libraries/APM_RC/APM_RC.cpp +++ b/libraries/APM_RC/APM_RC.cpp @@ -205,12 +205,12 @@ bool APM_RC_Class::setHIL(int16_t v[NUM_CHANNELS]) if (_HIL_override[i] != 0) { sum++; } + } if (sum == 0) { return 0; } else { return 1; } - } radio_status = 1; }