Rover: move try_send_message sending of sensor offsets up

This commit is contained in:
Peter Barker 2018-05-03 11:38:28 +10:00 committed by Peter Barker
parent 8cb2b5809f
commit ace48d72b0

View File

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