Copter: set SYS_STATUS and HB_Flag Guided bits when in AVOID_ADSB

This commit is contained in:
Tom Pittenger 2016-08-12 14:44:55 -07:00
parent 4cd66d54d1
commit dbdd86ad46
1 changed files with 2 additions and 0 deletions

View File

@ -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: