mirror of https://github.com/ArduPilot/ardupilot
MAVLink: use the configured system ID for ArduCopter
This commit is contained in:
parent
9b3ce4a96a
commit
63126ece83
|
@ -214,6 +214,9 @@ static void init_ardupilot()
|
||||||
gcs3.init(&Serial3);
|
gcs3.init(&Serial3);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// identify ourselves correctly with the ground station
|
||||||
|
mavlink_system.sysid = g.sysid_this_mav;
|
||||||
|
|
||||||
#ifdef RADIO_OVERRIDE_DEFAULTS
|
#ifdef RADIO_OVERRIDE_DEFAULTS
|
||||||
{
|
{
|
||||||
int16_t rc_override[8] = RADIO_OVERRIDE_DEFAULTS;
|
int16_t rc_override[8] = RADIO_OVERRIDE_DEFAULTS;
|
||||||
|
|
Loading…
Reference in New Issue