AP_Arming: add prearm check that we are using configured AHRS type

This commit is contained in:
Peter Barker 2022-07-27 10:18:06 +10:00 committed by Peter Barker
parent 4909866dd9
commit e89f4ea599

View File

@ -432,13 +432,6 @@ bool AP_Arming::ins_checks(bool report)
check_failed(ARMING_CHECK_INS, report, "temperature cal running");
return false;
}
// check AHRS attitudes are consistent
char failure_msg[50] = {};
if (!AP::ahrs().attitudes_consistent(failure_msg, ARRAY_SIZE(failure_msg))) {
check_failed(ARMING_CHECK_INS, report, "%s", failure_msg);
return false;
}
}
#if HAL_GYROFFT_ENABLED