mirror of https://github.com/ArduPilot/ardupilot
AntennaTracker: params always use set method
This commit is contained in:
parent
79b44b2517
commit
16455b23a4
|
@ -386,7 +386,7 @@ void GCS_MAVLINK_Tracker::mavlink_check_target(const mavlink_message_t &msg)
|
|||
|
||||
// set our sysid to the target, this ensures we lock onto a single vehicle
|
||||
if (tracker.g.sysid_target == 0) {
|
||||
tracker.g.sysid_target = msg.sysid;
|
||||
tracker.g.sysid_target.set(msg.sysid);
|
||||
}
|
||||
|
||||
// send data stream request to target on all channels
|
||||
|
|
Loading…
Reference in New Issue