mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_GPS: correct compilation when SIRF disabled
This commit is contained in:
parent
ddcd6e6244
commit
c5f21664db
@ -70,7 +70,12 @@ const uint32_t AP_GPS::_baudrates[] = {9600U, 115200U, 4800U, 19200U, 38400U, 57
|
|||||||
|
|
||||||
// initialisation blobs to send to the GPS to try to get it into the
|
// initialisation blobs to send to the GPS to try to get it into the
|
||||||
// right mode
|
// right mode
|
||||||
const char AP_GPS::_initialisation_blob[] = UBLOX_SET_BINARY_230400 SIRF_SET_BINARY;
|
const char AP_GPS::_initialisation_blob[] =
|
||||||
|
UBLOX_SET_BINARY_230400
|
||||||
|
#if AP_GPS_SIRF_ENABLED
|
||||||
|
SIRF_SET_BINARY
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
AP_GPS *AP_GPS::_singleton;
|
AP_GPS *AP_GPS::_singleton;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user