mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Plane: pre-arm check includes adsb failsafe
This commit is contained in:
parent
fa326de7fa
commit
8b021c2498
@ -75,6 +75,14 @@ bool AP_Arming_Plane::pre_arm_checks(bool report)
|
|||||||
ret = false;
|
ret = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check adsb avoidance failsafe
|
||||||
|
if (plane.failsafe.adsb) {
|
||||||
|
if (report) {
|
||||||
|
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_CRITICAL,"PreArm: ADSB threat detected");
|
||||||
|
}
|
||||||
|
ret = false;
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user