From c9d47c4ed58c94e6fdf7cb72cab358dc6861dd4c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 3 May 2018 11:45:39 +1000 Subject: [PATCH] Rover: move try_send_message sending of scaled_pressure up --- APMrover2/GCS_Mavlink.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/APMrover2/GCS_Mavlink.cpp b/APMrover2/GCS_Mavlink.cpp index 44db0dc5da..2e125c33cf 100644 --- a/APMrover2/GCS_Mavlink.cpp +++ b/APMrover2/GCS_Mavlink.cpp @@ -344,11 +344,6 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id) rover.send_vfr_hud(chan); break; - case MSG_RAW_IMU2: - CHECK_PAYLOAD_SIZE(SCALED_PRESSURE); - send_scaled_pressure(); - break; - case MSG_SIMSTATE: CHECK_PAYLOAD_SIZE(SIMSTATE); rover.send_simstate(chan);