mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
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
|
// set our sysid to the target, this ensures we lock onto a single vehicle
|
||||||
if (tracker.g.sysid_target == 0) {
|
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
|
// send data stream request to target on all channels
|
||||||
|
Loading…
Reference in New Issue
Block a user