mirror of https://github.com/ArduPilot/ardupilot
Copter: set SYS_STATUS and HB_Flag Guided bits when in AVOID_ADSB
This commit is contained in:
parent
4cd66d54d1
commit
dbdd86ad46
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue