From 88b463947a1561237f146783774fb76320a30b0d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 21 Jan 2022 10:42:41 +1100 Subject: [PATCH] AP_NMEA_Output: rename AP_AHRS::get_position to get_location --- libraries/AP_NMEA_Output/AP_NMEA_Output.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_NMEA_Output/AP_NMEA_Output.cpp b/libraries/AP_NMEA_Output/AP_NMEA_Output.cpp index 8c309d1558..ba155416e8 100644 --- a/libraries/AP_NMEA_Output/AP_NMEA_Output.cpp +++ b/libraries/AP_NMEA_Output/AP_NMEA_Output.cpp @@ -95,9 +95,9 @@ void AP_NMEA_Output::update() auto &ahrs = AP::ahrs(); - // get location (note: get_position from AHRS always returns true after having GPS position once) + // get location (note: get_location from AHRS always returns true after having GPS position once) Location loc; - bool pos_valid = ahrs.get_position(loc); + bool pos_valid = ahrs.get_location(loc); // format latitude char lat_string[13];