From e089f23c702067aac880eb49870047d0df2f4546 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 21 Jan 2022 10:42:40 +1100 Subject: [PATCH] AP_ADSB: rename AP_AHRS::get_position to get_location --- libraries/AP_ADSB/AP_ADSB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_ADSB/AP_ADSB.cpp b/libraries/AP_ADSB/AP_ADSB.cpp index cea3ff2cf9..98e867f356 100644 --- a/libraries/AP_ADSB/AP_ADSB.cpp +++ b/libraries/AP_ADSB/AP_ADSB.cpp @@ -322,7 +322,7 @@ void AP_ADSB::update(void) const uint32_t now = AP_HAL::millis(); - if (!AP::ahrs().get_position(_my_loc)) { + if (!AP::ahrs().get_location(_my_loc)) { _my_loc.zero(); }