Browse Source

AP_ADSB: rename AP_AHRS::get_position to get_location

gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
e089f23c70
  1. 2
      libraries/AP_ADSB/AP_ADSB.cpp

2
libraries/AP_ADSB/AP_ADSB.cpp

@ -322,7 +322,7 @@ void AP_ADSB::update(void) @@ -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();
}

Loading…
Cancel
Save