mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
AP_Arming: display a warning if arming checks disabled when arming
This commit is contained in:
parent
e1424d7c3f
commit
92a8964503
@ -1365,6 +1365,10 @@ bool AP_Arming::arm(AP_Arming::Method method, const bool do_arming_checks)
|
|||||||
armed = false;
|
armed = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (armed && do_arming_checks && checks_to_perform == 0) {
|
||||||
|
gcs().send_text(MAV_SEVERITY_WARNING, "Warning: Arming Checks Disabled");
|
||||||
|
}
|
||||||
|
|
||||||
return armed;
|
return armed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user