mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Tracker: fixed startup order of setting mavlink system ID
This commit is contained in:
parent
c3aaff122b
commit
30da64f8ef
@ -30,6 +30,8 @@ void Tracker::init_tracker()
|
||||
|
||||
GCS_MAVLINK::set_dataflash(&DataFlash);
|
||||
|
||||
mavlink_system.sysid = g.sysid_this_mav;
|
||||
|
||||
// initialise serial ports
|
||||
serial_manager.init();
|
||||
|
||||
@ -56,8 +58,6 @@ void Tracker::init_tracker()
|
||||
gcs[i].set_snoop(mavlink_snoop_static);
|
||||
}
|
||||
|
||||
mavlink_system.sysid = g.sysid_this_mav;
|
||||
|
||||
#if LOGGING_ENABLED == ENABLED
|
||||
log_init();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user