From 1bc208584fe62683d758734b5547dd83ac5812dc Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 2 May 2018 18:37:32 +1000 Subject: [PATCH] Rover: move try_send_message of heartbeats up to GCS_MAVLINK --- APMrover2/GCS_Mavlink.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/APMrover2/GCS_Mavlink.cpp b/APMrover2/GCS_Mavlink.cpp index cbbaf82f45..663bc260ab 100644 --- a/APMrover2/GCS_Mavlink.cpp +++ b/APMrover2/GCS_Mavlink.cpp @@ -299,11 +299,6 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id) } switch (id) { - case MSG_HEARTBEAT: - CHECK_PAYLOAD_SIZE(HEARTBEAT); - last_heartbeat_time = AP_HAL::millis(); - send_heartbeat(); - return true; case MSG_EXTENDED_STATUS1: // send extended status only once vehicle has been initialised