Browse Source

GCS_MAVLink: process messages sent to broadcast system

.... even if we've forwarded them to someone else.
c415-sdk
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
7c8df47ac9
  1. 3
      libraries/GCS_MAVLink/MAVLink_routing.cpp

3
libraries/GCS_MAVLink/MAVLink_routing.cpp

@ -177,7 +177,8 @@ bool MAVLink_routing::check_and_forward(mavlink_channel_t in_channel, const mavl @@ -177,7 +177,8 @@ bool MAVLink_routing::check_and_forward(mavlink_channel_t in_channel, const mavl
}
}
if (!forwarded && match_system) {
if ((!forwarded && match_system) ||
broadcast_system) {
process_locally = true;
}

Loading…
Cancel
Save