From 5911b87ae3f1c428fbe93a35a4d64ecc8be3e6dc Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 25 Jun 2024 19:05:26 +1000 Subject: [PATCH] GCS_MAVLink: rename ins get_primary_accel to get_first_usable_accel --- libraries/GCS_MAVLink/GCS_Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index 77369ba55b7cb..188f8918ac0d0 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -2172,7 +2172,7 @@ void GCS_MAVLINK::send_highres_imu() .temperature = 0.0, .fields_updated = (HIGHRES_IMU_UPDATED_XACC | HIGHRES_IMU_UPDATED_YACC | HIGHRES_IMU_UPDATED_ZACC | HIGHRES_IMU_UPDATED_XGYRO | HIGHRES_IMU_UPDATED_YGYRO | HIGHRES_IMU_UPDATED_ZGYRO), - .id = ins.get_primary_accel(), + .id = ins.get_first_usable_accel(), };