|
|
|
@ -36,7 +36,7 @@ NOINLINE void Copter::send_heartbeat(mavlink_channel_t chan)
@@ -36,7 +36,7 @@ NOINLINE void Copter::send_heartbeat(mavlink_channel_t chan)
|
|
|
|
|
uint32_t custom_mode = control_mode; |
|
|
|
|
|
|
|
|
|
// set system as critical if any failsafe have triggered
|
|
|
|
|
if (failsafe.radio || failsafe.battery || failsafe.gcs || failsafe.ekf || failsafe.terrain) { |
|
|
|
|
if (failsafe.radio || failsafe.battery || failsafe.gcs || failsafe.ekf || failsafe.terrain || failsafe.adsb) { |
|
|
|
|
system_status = MAV_STATE_CRITICAL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|