From 30572692c40c99e357467a046312fa49bdf4fdc4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Feb 2018 08:11:48 +1100 Subject: [PATCH] Copter: added ALLOW_ARM_NO_COMPASS for skyviper-f412 --- ArduCopter/AP_Arming.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/AP_Arming.cpp b/ArduCopter/AP_Arming.cpp index 8b544fba62..85ba040c34 100644 --- a/ArduCopter/AP_Arming.cpp +++ b/ArduCopter/AP_Arming.cpp @@ -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) {