mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AC_Fence: rename AP_AHRS::get_position to get_location
This commit is contained in:
parent
a6bbfca44e
commit
965b03f143
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user