diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index a3f19f43d0..2d1545c84d 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -389,7 +389,7 @@ bool AP_Arming::compass_checks(bool report) // avoid Compass::use_for_yaw(void) as it implicitly calls healthy() which can // incorrectly skip the remaining checks, pass the primary instance directly - if (!_compass.use_for_yaw(_compass.get_primary())) { + if (!_compass.use_for_yaw(0)) { // compass use is disabled return true; }