From 5046083863935357006ae70d7043d3b825173573 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 20 Jul 2021 22:16:28 +1000 Subject: [PATCH] AC_AttitudeControl: rename for AHRS restructuring --- libraries/AC_AttitudeControl/AC_PosControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AC_AttitudeControl/AC_PosControl.cpp b/libraries/AC_AttitudeControl/AC_PosControl.cpp index 94d2528674..4dbc8f55d7 100644 --- a/libraries/AC_AttitudeControl/AC_PosControl.cpp +++ b/libraries/AC_AttitudeControl/AC_PosControl.cpp @@ -614,7 +614,7 @@ void AC_PosControl::update_xy_controller() _last_update_xy_us = AP_HAL::micros64(); float ekfGndSpdLimit, ekfNavVelGainScaler; - AP::ahrs_navekf().getEkfControlLimits(ekfGndSpdLimit, ekfNavVelGainScaler); + AP::ahrs().getEkfControlLimits(ekfGndSpdLimit, ekfNavVelGainScaler); // Position Controller