AP_Arming: correct bit used to indicate blended-gps-checking

This commit is contained in:
Peter Barker 2017-07-15 21:13:21 +10:00 committed by Francisco Ferreira
parent cbde87b390
commit 999a5e6cda
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ bool AP_Arming::gps_checks(bool report)
}
// check GPSs are within 50m of each other and that blending is healthy
if ((checks_to_perform & ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_GPS_CONFIG)) {
if ((checks_to_perform & ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_GPS)) {
float distance_m;
if (!gps.all_consistent(distance_m)) {
if (report) {