Browse Source

AP_NMEA_Output: eliminate AP::ahrs().get_location

gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
3a5062c90b
  1. 2
      libraries/AP_NMEA_Output/AP_NMEA_Output.cpp

2
libraries/AP_NMEA_Output/AP_NMEA_Output.cpp

@ -97,7 +97,7 @@ void AP_NMEA_Output::update() @@ -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];

Loading…
Cancel
Save