AP_Arming: FFT prearm should not be dependent on INS prearm

This commit is contained in:
Andy Piper 2021-10-15 20:30:38 +01:00 committed by Andrew Tridgell
parent f145785be0
commit 73b0a212f7

View File

@ -390,6 +390,7 @@ bool AP_Arming::ins_checks(bool report)
check_failed(ARMING_CHECK_INS, report, "%s", failure_msg); check_failed(ARMING_CHECK_INS, report, "%s", failure_msg);
return false; return false;
} }
}
#if HAL_GYROFFT_ENABLED #if HAL_GYROFFT_ENABLED
// gyros are healthy so check the FFT // gyros are healthy so check the FFT
@ -405,7 +406,6 @@ bool AP_Arming::ins_checks(bool report)
} }
} }
#endif #endif
}
return true; return true;
} }