mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -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
|
bool AC_PolyFence_loader::breached() const
|
||||||
{
|
{
|
||||||
struct Location loc;
|
struct Location loc;
|
||||||
if (!AP::ahrs().get_position(loc)) {
|
if (!AP::ahrs().get_location(loc)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user