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 0542539fc9
commit f9c5b135bc
2 changed files with 2 additions and 2 deletions

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()