Copter: added ALLOW_ARM_NO_COMPASS
for skyviper-f412
This commit is contained in:
parent
e05bac425f
commit
30572692c4
@ -561,6 +561,7 @@ bool AP_Arming_Copter::arm_checks(bool display_failure, bool arming_from_gcs)
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifndef ALLOW_ARM_NO_COMPASS
|
||||
// check compass health
|
||||
if (!_compass.healthy()) {
|
||||
if (display_failure) {
|
||||
@ -568,6 +569,7 @@ bool AP_Arming_Copter::arm_checks(bool display_failure, bool arming_from_gcs)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (_compass.is_calibrating()) {
|
||||
if (display_failure) {
|
||||
|
Loading…
Reference in New Issue
Block a user