mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_GPS: fix SIRF defines
this allows SIRF to be included even on minimised boards if it is requested
This commit is contained in:
parent
537eea76c8
commit
6a64b56b0d
@ -812,7 +812,7 @@ AP_GPS_Backend *AP_GPS::_detect_instance(uint8_t instance)
|
||||
return new AP_GPS_SBP(*this, state[instance], _port[instance]);
|
||||
}
|
||||
#endif //AP_GPS_SBP_ENABLED
|
||||
#if !HAL_MINIMIZE_FEATURES && AP_GPS_SIRF_ENABLED
|
||||
#if AP_GPS_SIRF_ENABLED
|
||||
if ((_type[instance] == GPS_TYPE_AUTO || _type[instance] == GPS_TYPE_SIRF) &&
|
||||
AP_GPS_SIRF::_detect(dstate->sirf_detect_state, data)) {
|
||||
return new AP_GPS_SIRF(*this, state[instance], _port[instance]);
|
||||
|
Loading…
Reference in New Issue
Block a user