Tracker: fix communication lock out when vehicle connected

This commit is contained in:
IamPete1 2019-02-08 22:37:33 +00:00 committed by Peter Barker
parent d6674a3bb1
commit 87a0166c1c
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ void GCS_MAVLINK_Tracker::packetReceived(const mavlink_status_t &status,
{ {
// return immediately if sysid doesn't match our target sysid // return immediately if sysid doesn't match our target sysid
if ((tracker.g.sysid_target != 0) && (tracker.g.sysid_target != msg.sysid)) { if ((tracker.g.sysid_target != 0) && (tracker.g.sysid_target != msg.sysid)) {
GCS_MAVLINK::packetReceived(status, msg);
return; return;
} }