mirror of https://github.com/ArduPilot/ardupilot
Tracker: move try_send_message sending of sensor offsets up
This commit is contained in:
parent
ace48d72b0
commit
73f845d76f
|
@ -201,11 +201,6 @@ bool GCS_MAVLINK_Tracker::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(tracker.ins, tracker.compass);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case MSG_SIMSTATE:
|
case MSG_SIMSTATE:
|
||||||
CHECK_PAYLOAD_SIZE(SIMSTATE);
|
CHECK_PAYLOAD_SIZE(SIMSTATE);
|
||||||
tracker.send_simstate(chan);
|
tracker.send_simstate(chan);
|
||||||
|
|
Loading…
Reference in New Issue