GCS_MAVLink: rename ins get_primary_accel to get_first_usable_accel

This commit is contained in:
Peter Barker 2024-06-25 19:05:26 +10:00 committed by Andrew Tridgell
parent 563c3e7c62
commit 5911b87ae3
1 changed files with 1 additions and 1 deletions

View File

@ -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(),
};