Copter: AP_Arming integrates rename to using_noncompass_for_yaw
This commit is contained in:
parent
e7be608a4a
commit
b4e073d6f7
@ -630,8 +630,8 @@ bool AP_Arming_Copter::arm_checks(AP_Arming::Method method)
|
||||
}
|
||||
|
||||
#ifndef ALLOW_ARM_NO_COMPASS
|
||||
// if external source of heading is available, we can skip compass health check
|
||||
if (!ahrs.is_ext_nav_used_for_yaw()) {
|
||||
// if non-compass is source of heading we can skip compass health check
|
||||
if (!ahrs.using_noncompass_for_yaw()) {
|
||||
const Compass &_compass = AP::compass();
|
||||
// check compass health
|
||||
if (!_compass.healthy()) {
|
||||
|
Loading…
Reference in New Issue
Block a user