AP_Arming: update primary GPS type 0 string

This commit is contained in:
Iampete1 2021-08-31 00:19:20 +01:00 committed by Andrew Tridgell
parent 0d3c00cb96
commit 8d669f7616

View File

@ -496,7 +496,7 @@ bool AP_Arming::gps_checks(bool report)
#endif #endif
(gps.get_type(i) == AP_GPS::GPS_Type::GPS_TYPE_NONE)) { (gps.get_type(i) == AP_GPS::GPS_Type::GPS_TYPE_NONE)) {
if (gps.primary_sensor() == i) { if (gps.primary_sensor() == i) {
check_failed(ARMING_CHECK_GPS, report, "GPS %i: primary but not configured", i+1); check_failed(ARMING_CHECK_GPS, report, "GPS %i: primary but TYPE 0", i+1);
return false; return false;
} }
continue; continue;