Copter: move try_send_message sending of scaled_pressure up

This commit is contained in:
Peter Barker 2018-05-03 11:45:53 +10:00 committed by Peter Barker
parent 75d5b79c48
commit e4a2b03488
1 changed files with 0 additions and 5 deletions

View File

@ -344,11 +344,6 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id)
copter.send_vfr_hud(chan);
break;
case MSG_RAW_IMU2:
CHECK_PAYLOAD_SIZE(SCALED_PRESSURE);
send_scaled_pressure();
break;
case MSG_RPM:
#if RPM_ENABLED == ENABLED
CHECK_PAYLOAD_SIZE(RPM);