diff --git a/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.cpp b/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.cpp index 4f3582905e..14c32a82de 100644 --- a/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.cpp +++ b/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.cpp @@ -111,7 +111,7 @@ void loop() hal.console->printf(" Alt: %.2fm GSP: %.2fm/s CoG: %d SAT: %d TIM: %u/%lu STATUS: %u\n", (double)(loc.alt * 0.01f), (double)gps.ground_speed(), - (int)gps.ground_course_cd() / 100, + (int)gps.ground_course(), gps.num_sats(), gps.time_week(), (long unsigned int)gps.time_week_ms(),