Plane: use AP_GPS_Auto for 2nd GPS

This commit is contained in:
Andrew Tridgell 2014-03-28 14:51:22 +11:00
parent 2dd92832dc
commit 958e17f4ff

View File

@ -231,7 +231,7 @@ static AP_Compass_HIL compass;
#if GPS_PROTOCOL == GPS_PROTOCOL_AUTO
AP_GPS_Auto g_gps_driver(&g_gps);
#if GPS2_ENABLE
AP_GPS_UBLOX g_gps2_driver;
AP_GPS_Auto g_gps2_driver(&g_gps2);
#endif
#elif GPS_PROTOCOL == GPS_PROTOCOL_NMEA