AP_NMEA_Output: eliminate AP::ahrs().get_location

This commit is contained in:
Peter Barker 2021-08-27 13:04:58 +10:00 committed by Andrew Tridgell
parent cc514af158
commit 3a5062c90b
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ void AP_NMEA_Output::update()
// get location (note: get_position from AHRS always returns true after having GPS position once) // get location (note: get_position from AHRS always returns true after having GPS position once)
Location loc; Location loc;
bool pos_valid = ahrs.get_location(loc); bool pos_valid = ahrs.get_position(loc);
// format latitude // format latitude
char lat_string[13]; char lat_string[13];