From 3a5062c90bddb9c70b195a8e306ffcdd5992c7d7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 27 Aug 2021 13:04:58 +1000 Subject: [PATCH] AP_NMEA_Output: eliminate AP::ahrs().get_location --- libraries/AP_NMEA_Output/AP_NMEA_Output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_NMEA_Output/AP_NMEA_Output.cpp b/libraries/AP_NMEA_Output/AP_NMEA_Output.cpp index 9c1c4c2d7e..7a491f56e6 100644 --- a/libraries/AP_NMEA_Output/AP_NMEA_Output.cpp +++ b/libraries/AP_NMEA_Output/AP_NMEA_Output.cpp @@ -97,7 +97,7 @@ void AP_NMEA_Output::update() // get location (note: get_position from AHRS always returns true after having GPS position once) Location loc; - bool pos_valid = ahrs.get_location(loc); + bool pos_valid = ahrs.get_position(loc); // format latitude char lat_string[13];