Sub: move try_send_message of RAW_IMU up to GCS_MAVLINK

This commit is contained in:
Peter Barker 2018-05-03 11:32:16 +10:00 committed by Peter Barker
parent e6411c6804
commit 5736aa6ef3

View File

@ -519,11 +519,6 @@ bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id)
sub.send_vfr_hud(chan);
break;
case MSG_RAW_IMU1:
CHECK_PAYLOAD_SIZE(RAW_IMU);
send_raw_imu(sub.ins, sub.compass);
break;
case MSG_RAW_IMU2:
CHECK_PAYLOAD_SIZE(SCALED_PRESSURE);
send_scaled_pressure();