mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_GPS: Always consider ublox as configured in sitl
This commit is contained in:
parent
f6687a2d6c
commit
398ff823c0
@ -105,11 +105,15 @@ public:
|
||||
void inject_data(const uint8_t *data, uint16_t len) override;
|
||||
|
||||
bool is_configured(void) {
|
||||
#if CONFIG_HAL_BOARD != HAL_BOARD_SITL
|
||||
if (!gps._auto_config) {
|
||||
return true;
|
||||
} else {
|
||||
return !_unconfigured_messages;
|
||||
}
|
||||
#else
|
||||
return true;
|
||||
#endif // CONFIG_HAL_BOARD != HAL_BOARD_SITL
|
||||
}
|
||||
|
||||
void broadcast_configuration_failure_reason(void) const override;
|
||||
|
Loading…
Reference in New Issue
Block a user