AP_AIS: 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 ff63b62b0c
commit 45733c96ac

View File

@ -292,7 +292,7 @@ bool AP_AIS::get_vessel_index(uint32_t mmsi, uint16_t &index, uint32_t lat, uint
}
struct Location current_loc;
if (!AP::ahrs().get_position(current_loc)) {
if (!AP::ahrs().get_location(current_loc)) {
return false;
}