From dbdd86ad4614c5f9628473fc271eb9ba2fef3636 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Fri, 12 Aug 2016 14:44:55 -0700 Subject: [PATCH] Copter: set SYS_STATUS and HB_Flag Guided bits when in AVOID_ADSB --- ArduCopter/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index 000f74dc76..f80d268f44 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -53,6 +53,7 @@ NOINLINE void Copter::send_heartbeat(mavlink_channel_t chan) case AUTO: case RTL: case LOITER: + case AVOID_ADSB: case GUIDED: case CIRCLE: case POSHOLD: @@ -169,6 +170,7 @@ NOINLINE void Copter::send_extended_status1(mavlink_channel_t chan) switch (control_mode) { case ALT_HOLD: case AUTO: + case AVOID_ADSB: case GUIDED: case LOITER: case RTL: