diff --git a/libraries/AP_GPS/examples/GPS_406_test/GPS_406_test.pde b/libraries/AP_GPS/examples/GPS_406_test/GPS_406_test.pde index 2482c3ed68..4dd2b2ca30 100644 --- a/libraries/AP_GPS/examples/GPS_406_test/GPS_406_test.pde +++ b/libraries/AP_GPS/examples/GPS_406_test/GPS_406_test.pde @@ -27,7 +27,7 @@ void setup() hal.uartB->begin(57600, 128, 16); gps.print_errors = true; - gps.init(hal.uartB); // GPS Initialization + gps.init(hal.uartB, GPS::GPS_ENGINE_AIRBORNE_4G); // GPS Initialization hal.scheduler->delay(1000); } void loop() diff --git a/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde b/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde index 649695ad9d..f3f785e9bc 100644 --- a/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde +++ b/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde @@ -35,7 +35,7 @@ void setup() hal.console->println("GPS AUTO library test"); gps = &GPS; - gps->init(hal.uartB, GPS::GPS_ENGINE_AIRBORNE_2G); + gps->init(hal.uartB, GPS::GPS_ENGINE_AIRBORNE_4G); // initialise the leds board_led.init(); diff --git a/libraries/AP_GPS/examples/GPS_MTK_test/GPS_MTK_test.pde b/libraries/AP_GPS/examples/GPS_MTK_test/GPS_MTK_test.pde index 69a82a76f6..dfc93767c3 100644 --- a/libraries/AP_GPS/examples/GPS_MTK_test/GPS_MTK_test.pde +++ b/libraries/AP_GPS/examples/GPS_MTK_test/GPS_MTK_test.pde @@ -30,7 +30,7 @@ void setup() gps.print_errors = true; hal.console->println("GPS MTK library test"); - gps.init(hal.uartB); // GPS Initialization + gps.init(hal.uartB, GPS::GPS_ENGINE_AIRBORNE_4G); // GPS Initialization } void loop() diff --git a/libraries/AP_GPS/examples/GPS_NMEA_test/GPS_NMEA_test.pde b/libraries/AP_GPS/examples/GPS_NMEA_test/GPS_NMEA_test.pde index 8e02f90d35..dabbfdded2 100644 --- a/libraries/AP_GPS/examples/GPS_NMEA_test/GPS_NMEA_test.pde +++ b/libraries/AP_GPS/examples/GPS_NMEA_test/GPS_NMEA_test.pde @@ -51,7 +51,7 @@ void setup() for (uint8_t i = 0; i < sizeof(sirf_to_nmea); i++) hal.uartB->write(sirf_to_nmea[i]); - gps->init(hal.uartB); + gps->init(hal.uartB, GPS::GPS_ENGINE_AIRBORNE_4G); } void loop() diff --git a/libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde b/libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde index eb52e34178..b0d97de81f 100644 --- a/libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde +++ b/libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde @@ -30,7 +30,7 @@ void setup() gps.print_errors = true; hal.console->println("GPS UBLOX library test"); - gps.init(hal.uartB, GPS::GPS_ENGINE_AIRBORNE_2G); // GPS Initialization + gps.init(hal.uartB, GPS::GPS_ENGINE_AIRBORNE_4G); // GPS Initialization } void loop()