GCS_MAVLink: do not auto-forward ADSB_VEHICLE packets

This commit is contained in:
Tom Pittenger 2016-06-15 13:54:07 -07:00
parent 2db2486b3a
commit 3a38e29b39
1 changed files with 5 additions and 0 deletions

View File

@ -114,6 +114,11 @@ bool MAVLink_routing::check_and_forward(mavlink_channel_t in_channel, const mavl
return true; return true;
} }
if (msg->msgid == MAVLINK_MSG_ID_ADSB_VEHICLE) {
// ADSB packets are not forwarded, they have their own stream rate
return true;
}
// extract the targets for this packet // extract the targets for this packet
int16_t target_system = -1; int16_t target_system = -1;
int16_t target_component = -1; int16_t target_component = -1;