mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
Plane: use AP_GPS_Auto for 2nd GPS
This commit is contained in:
parent
2dd92832dc
commit
958e17f4ff
@ -231,7 +231,7 @@ static AP_Compass_HIL compass;
|
|||||||
#if GPS_PROTOCOL == GPS_PROTOCOL_AUTO
|
#if GPS_PROTOCOL == GPS_PROTOCOL_AUTO
|
||||||
AP_GPS_Auto g_gps_driver(&g_gps);
|
AP_GPS_Auto g_gps_driver(&g_gps);
|
||||||
#if GPS2_ENABLE
|
#if GPS2_ENABLE
|
||||||
AP_GPS_UBLOX g_gps2_driver;
|
AP_GPS_Auto g_gps2_driver(&g_gps2);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif GPS_PROTOCOL == GPS_PROTOCOL_NMEA
|
#elif GPS_PROTOCOL == GPS_PROTOCOL_NMEA
|
||||||
|
Loading…
Reference in New Issue
Block a user