From 9264a25955821532e16faf9ebbe7f2af296e2e02 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 21 Jan 2022 10:42:40 +1100 Subject: [PATCH] AP_Devo_Telem: rename AP_AHRS::get_position to get_location --- libraries/AP_Devo_Telem/AP_Devo_Telem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Devo_Telem/AP_Devo_Telem.cpp b/libraries/AP_Devo_Telem/AP_Devo_Telem.cpp index 6863b75c83..6fb633533c 100644 --- a/libraries/AP_Devo_Telem/AP_Devo_Telem.cpp +++ b/libraries/AP_Devo_Telem/AP_Devo_Telem.cpp @@ -96,7 +96,7 @@ void AP_DEVO_Telem::send_frames() const AP_GPS &gps = AP::gps(); Location loc; - if (_ahrs.get_position(loc)) { + if (_ahrs.get_location(loc)) { devoPacket.lat = gpsDdToDmsFormat(loc.lat); devoPacket.lon = gpsDdToDmsFormat(loc.lng); devoPacket.speed = (int16_t)(gps.ground_speed() * DEVO_SPEED_FACTOR * 100.0f); // * 100 for cm