Sub: move try_send_message sending of sensor offsets up

This commit is contained in:
Peter Barker 2018-05-03 11:38:52 +10:00 committed by Peter Barker
parent 0e3ad3f023
commit 12f62a44ce

View File

@ -525,11 +525,6 @@ bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id)
sub.send_temperature(chan);
break;
case MSG_RAW_IMU3:
CHECK_PAYLOAD_SIZE(SENSOR_OFFSETS);
send_sensor_offsets(sub.ins, sub.compass);
break;
case MSG_RPM:
#if RPM_ENABLED == ENABLED
CHECK_PAYLOAD_SIZE(RPM);