Commit c51d716d authored by DonLakeFlyer's avatar DonLakeFlyer

Don't send GCS heartbeat on high latency link

parent e6cf7dad
......@@ -359,7 +359,7 @@ void MultiVehicleManager::_sendGCSHeartbeat(void)
LinkManager* linkMgr = _toolbox->linkManager();
for (int i=0; i<linkMgr->links().count(); i++) {
LinkInterface* link = linkMgr->links()[i];
if (link->isConnected()) {
if (link->isConnected() && !link->highLatency()) {
mavlink_message_t message;
mavlink_msg_heartbeat_pack_chan(_mavlinkProtocol->getSystemId(),
_mavlinkProtocol->getComponentId(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment