Browse Source

AP_LTM_Telem: rename AP_AHRS::get_position to get_location

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

2
libraries/AP_LTM_Telem/AP_LTM_Telem.cpp

@ -74,7 +74,7 @@ void AP_LTM_Telem::send_Gframe(void) @@ -74,7 +74,7 @@ void AP_LTM_Telem::send_Gframe(void)
ahrs.get_relative_position_D_home(alt_ahrs);
alt = (int32_t) roundf(-alt_ahrs * 100.0); // altitude (cm)
Location loc;
if (ahrs.get_position(loc)) {
if (ahrs.get_location(loc)) {
lat = loc.lat;
lon = loc.lng;
gndspeed = (uint8_t) roundf(gps.ground_speed());

Loading…
Cancel
Save