Tracker: move try_send_message sending of sensor offsets up

This commit is contained in:
Peter Barker 2018-05-03 11:38:35 +10:00 committed by Peter Barker
parent ace48d72b0
commit 73f845d76f
1 changed files with 0 additions and 5 deletions

View File

@ -201,11 +201,6 @@ bool GCS_MAVLINK_Tracker::try_send_message(enum ap_message id)
send_scaled_pressure();
break;
case MSG_RAW_IMU3:
CHECK_PAYLOAD_SIZE(SENSOR_OFFSETS);
send_sensor_offsets(tracker.ins, tracker.compass);
break;
case MSG_SIMSTATE:
CHECK_PAYLOAD_SIZE(SIMSTATE);
tracker.send_simstate(chan);