From 63126ece83e4a980b0815d1aaa0ca39eed9bb024 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 3 Dec 2011 07:54:36 +1100 Subject: [PATCH] MAVLink: use the configured system ID for ArduCopter --- ArduCopter/system.pde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopter/system.pde b/ArduCopter/system.pde index 6b50b3dfcf..5c07a92502 100644 --- a/ArduCopter/system.pde +++ b/ArduCopter/system.pde @@ -214,6 +214,9 @@ static void init_ardupilot() gcs3.init(&Serial3); #endif + // identify ourselves correctly with the ground station + mavlink_system.sysid = g.sysid_this_mav; + #ifdef RADIO_OVERRIDE_DEFAULTS { int16_t rc_override[8] = RADIO_OVERRIDE_DEFAULTS;