GPS: use the new nav_setting in a couple of the sample sketches
This commit is contained in:
parent
33a2ad7e07
commit
f9560ef093
@ -44,7 +44,7 @@ void setup()
|
|||||||
|
|
||||||
Serial.println("GPS AUTO library test");
|
Serial.println("GPS AUTO library test");
|
||||||
gps = &GPS;
|
gps = &GPS;
|
||||||
gps->init();
|
gps->init(GPS::GPS_ENGINE_AIRBORNE_2G);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
void loop()
|
||||||
|
@ -26,7 +26,7 @@ void setup()
|
|||||||
gps.print_errors = true;
|
gps.print_errors = true;
|
||||||
|
|
||||||
Serial.println("GPS UBLOX library test");
|
Serial.println("GPS UBLOX library test");
|
||||||
gps.init(); // GPS Initialization
|
gps.init(GPS::GPS_ENGINE_AIRBORNE_2G); // GPS Initialization
|
||||||
delay(1000);
|
delay(1000);
|
||||||
}
|
}
|
||||||
void loop()
|
void loop()
|
||||||
|
Loading…
Reference in New Issue
Block a user