From 308ed96271c3ba7564b61f6d4055758a3b578e22 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 25 Jun 2024 19:05:26 +1000 Subject: [PATCH] AP_Mount: rename ins get_primary_accel to get_first_usable_accel --- libraries/AP_Mount/SoloGimbal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Mount/SoloGimbal.cpp b/libraries/AP_Mount/SoloGimbal.cpp index 4503c02cec3f5..eba243eabac4a 100644 --- a/libraries/AP_Mount/SoloGimbal.cpp +++ b/libraries/AP_Mount/SoloGimbal.cpp @@ -245,7 +245,7 @@ void SoloGimbal::update_fast() { // single gyro mode - one of the first two gyros are unhealthy or don't exist // just read primary gyro Vector3f dAng; - readVehicleDeltaAngle(ins.get_primary_gyro(), dAng); + readVehicleDeltaAngle(ins.get_first_usable_gyro(), dAng); _vehicle_delta_angles += dAng; } }