mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: rename ins get_primary_accel to get_first_usable_accel
This commit is contained in:
parent
563c3e7c62
commit
5911b87ae3
|
@ -2172,7 +2172,7 @@ void GCS_MAVLINK::send_highres_imu()
|
||||||
.temperature = 0.0,
|
.temperature = 0.0,
|
||||||
.fields_updated = (HIGHRES_IMU_UPDATED_XACC | HIGHRES_IMU_UPDATED_YACC | HIGHRES_IMU_UPDATED_ZACC |
|
.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),
|
HIGHRES_IMU_UPDATED_XGYRO | HIGHRES_IMU_UPDATED_YGYRO | HIGHRES_IMU_UPDATED_ZGYRO),
|
||||||
.id = ins.get_primary_accel(),
|
.id = ins.get_first_usable_accel(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue