Browse Source

Copter: move try_send_message sending of scaled_pressure up

master
Peter Barker 7 years ago committed by Peter Barker
parent
commit
e4a2b03488
  1. 5
      ArduCopter/GCS_Mavlink.cpp

5
ArduCopter/GCS_Mavlink.cpp

@ -344,11 +344,6 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id) @@ -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);

Loading…
Cancel
Save