mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: remove redundant terrain checks
Now taken care of by continuous prearm checks
This commit is contained in:
parent
d537461934
commit
3846da5e23
@ -571,13 +571,6 @@ bool AP_Arming_Copter::arm_checks(bool display_failure, bool arming_from_gcs)
|
||||
}
|
||||
}
|
||||
|
||||
// check for missing terrain data
|
||||
if ((checks_to_perform == ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_PARAMETERS)) {
|
||||
if (!pre_arm_terrain_check(display_failure)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// check adsb
|
||||
if ((checks_to_perform == ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_PARAMETERS)) {
|
||||
if (copter.failsafe.adsb) {
|
||||
|
Loading…
Reference in New Issue
Block a user