diff --git a/Blimp/AP_Arming.cpp b/Blimp/AP_Arming.cpp index a308ae66ce..a1fca4ca7b 100644 --- a/Blimp/AP_Arming.cpp +++ b/Blimp/AP_Arming.cpp @@ -78,23 +78,6 @@ bool AP_Arming_Blimp::barometer_checks(bool display_failure) return ret; } -bool AP_Arming_Blimp::compass_checks(bool display_failure) -{ - bool ret = AP_Arming::compass_checks(display_failure); - - if ((checks_to_perform == ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_COMPASS)) { - // check compass offsets have been set. AP_Arming only checks - // this if learning is off; Blimp *always* checks. - char failure_msg[50] = {}; - if (!AP::compass().configured(failure_msg, ARRAY_SIZE(failure_msg))) { - check_failed(ARMING_CHECK_COMPASS, display_failure, "%s", failure_msg); - ret = false; - } - } - - return ret; -} - bool AP_Arming_Blimp::ins_checks(bool display_failure) { bool ret = AP_Arming::ins_checks(display_failure); diff --git a/Blimp/AP_Arming.h b/Blimp/AP_Arming.h index 6dbe21c1bb..ba006a177b 100644 --- a/Blimp/AP_Arming.h +++ b/Blimp/AP_Arming.h @@ -37,7 +37,6 @@ protected: // NOTE! the following check functions *DO* call into AP_Arming: bool ins_checks(bool display_failure) override; - bool compass_checks(bool display_failure) override; bool gps_checks(bool display_failure) override; bool barometer_checks(bool display_failure) override; bool board_voltage_checks(bool display_failure) override;