Copter: move try_send_message sending of sensor offsets up

This commit is contained in:
Peter Barker 2018-05-03 11:38:41 +10:00 committed by Peter Barker
parent 73f845d76f
commit 88883c7c7f

View File

@ -349,11 +349,6 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id)
send_scaled_pressure();
break;
case MSG_RAW_IMU3:
CHECK_PAYLOAD_SIZE(SENSOR_OFFSETS);
send_sensor_offsets(copter.ins, copter.compass);
break;
case MSG_RPM:
#if RPM_ENABLED == ENABLED
CHECK_PAYLOAD_SIZE(RPM);