From b06d3d3f52fba0412ac3e8eb753d54960339e117 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 29 Sep 2014 21:51:44 +0900 Subject: [PATCH] Tracker: remove forwarding of pos and pressure to vehicle --- AntennaTracker/GCS_Mavlink.pde | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/AntennaTracker/GCS_Mavlink.pde b/AntennaTracker/GCS_Mavlink.pde index 4c66d4d820..79b46a606f 100644 --- a/AntennaTracker/GCS_Mavlink.pde +++ b/AntennaTracker/GCS_Mavlink.pde @@ -825,11 +825,6 @@ mission_failed: // decode mavlink_global_position_int_t packet; mavlink_msg_global_position_int_decode(msg, &packet); - if (g.proxy_mode == true && proxy_vehicle.initialised) { - // Also proxy it to the remote - if (comm_get_txspace(proxy_vehicle.chan) > ((uint16_t)msg->len) + MAVLINK_NUM_NON_PAYLOAD_BYTES) - _mavlink_resend_uart(proxy_vehicle.chan, msg); - } tracking_update_position(packet); break; } @@ -839,11 +834,6 @@ mission_failed: // decode mavlink_scaled_pressure_t packet; mavlink_msg_scaled_pressure_decode(msg, &packet); - if (g.proxy_mode == true && proxy_vehicle.initialised) { - // Also proxy it to the remote - if (comm_get_txspace(proxy_vehicle.chan) > ((uint16_t)msg->len) + MAVLINK_NUM_NON_PAYLOAD_BYTES) - _mavlink_resend_uart(proxy_vehicle.chan, msg); - } tracking_update_pressure(packet); break; }