Fix bug for GCS joystick control

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2440 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
deweibel@gmail.com 2011-05-30 03:44:07 +00:00
parent dcbf161c41
commit f5700c75c8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}