mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: do not auto-forward ADSB_VEHICLE packets
This commit is contained in:
parent
2db2486b3a
commit
3a38e29b39
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue