From d4b2a488063b33df014e1b6808cb3d9a098af88f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 21 Jan 2022 10:42:41 +1100 Subject: [PATCH] AP_LTM_Telem: rename AP_AHRS::get_position to get_location --- libraries/AP_LTM_Telem/AP_LTM_Telem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_LTM_Telem/AP_LTM_Telem.cpp b/libraries/AP_LTM_Telem/AP_LTM_Telem.cpp index 83e6abe6f1..c9267b1985 100644 --- a/libraries/AP_LTM_Telem/AP_LTM_Telem.cpp +++ b/libraries/AP_LTM_Telem/AP_LTM_Telem.cpp @@ -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());