AP_NMEA_Output: rename AP_AHRS::get_position to get_location

This commit is contained in:
Peter Barker 2022-01-21 10:42:41 +11:00 committed by Andrew Tridgell
parent 1c63aa1e4d
commit 88b463947a
1 changed files with 2 additions and 2 deletions

View File

@ -95,9 +95,9 @@ void AP_NMEA_Output::update()
auto &ahrs = AP::ahrs(); 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; Location loc;
bool pos_valid = ahrs.get_position(loc); bool pos_valid = ahrs.get_location(loc);
// format latitude // format latitude
char lat_string[13]; char lat_string[13];