mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Arming: Remove the SITL protection around GPS configuration, and rely upon the GPS library instead
This commit is contained in:
parent
398ff823c0
commit
be1fd147fc
@ -357,7 +357,6 @@ bool AP_Arming::gps_checks(bool report)
|
||||
}
|
||||
}
|
||||
|
||||
#if CONFIG_HAL_BOARD != HAL_BOARD_SITL
|
||||
if ((checks_to_perform & ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_GPS_CONFIG)) {
|
||||
uint8_t first_unconfigured = gps.first_unconfigured_gps();
|
||||
if (first_unconfigured != AP_GPS::GPS_ALL_CONFIGURED) {
|
||||
@ -370,7 +369,6 @@ bool AP_Arming::gps_checks(bool report)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user