5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-03-09 16:13:56 -03:00

GPS: use the new nav_setting in a couple of the sample sketches

This commit is contained in:
Andrew Tridgell 2012-06-10 16:35:13 +10:00
parent 33a2ad7e07
commit f9560ef093
2 changed files with 2 additions and 2 deletions
libraries/AP_GPS/examples
GPS_AUTO_test
GPS_UBLOX_test

View File

@ -44,7 +44,7 @@ void setup()
Serial.println("GPS AUTO library test");
gps = &GPS;
gps->init();
gps->init(GPS::GPS_ENGINE_AIRBORNE_2G);
}
void loop()

View File

@ -26,7 +26,7 @@ void setup()
gps.print_errors = true;
Serial.println("GPS UBLOX library test");
gps.init(); // GPS Initialization
gps.init(GPS::GPS_ENGINE_AIRBORNE_2G); // GPS Initialization
delay(1000);
}
void loop()