Copter: use configured to check whether radio has been calibrated

This commit is contained in:
Jonathan Challinger 2015-10-22 12:46:32 -07:00 committed by Andrew Tridgell
parent 21e7d46944
commit 28f55766fd
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ void Copter::pre_arm_rc_checks()
}
// check if radio has been calibrated
if(!channel_throttle->radio_min.load() && !channel_throttle->radio_max.load()) {
if(!channel_throttle->radio_min.configured() && !channel_throttle->radio_max.configured()) {
return;
}