HIL: fixed radio_status in setHIL() for APM_RC

thanks to Michael Oborne for noticing this!

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2952 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
tridge60@gmail.com 2011-07-28 12:11:25 +00:00
parent 7d65418fa1
commit 1dc0063e67
1 changed files with 5 additions and 5 deletions

View File

@ -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)