mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
GPS: use the new nav_setting in a couple of the sample sketches
This commit is contained in:
parent
0542539fc9
commit
f9c5b135bc
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user