AC_Fence: rename AP_AHRS::get_position to get_location

This commit is contained in:
Peter Barker 2022-01-21 10:42:40 +11:00 committed by Andrew Tridgell
parent a6bbfca44e
commit 965b03f143
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ bool AC_PolyFence_loader::load_point_from_eeprom(uint16_t i, Vector2l& point) co
bool AC_PolyFence_loader::breached() const
{
struct Location loc;
if (!AP::ahrs().get_position(loc)) {
if (!AP::ahrs().get_location(loc)) {
return false;
}