mirror of https://github.com/ArduPilot/ardupilot
AP_InertialSensor: don't set INS_ENABLE_MASK to found IMU mask
This commit is contained in:
parent
a53480f904
commit
ca37b06af2
|
@ -870,8 +870,6 @@ AP_InertialSensor::detect_backends(void)
|
||||||
#error Unrecognised HAL_INS_TYPE setting
|
#error Unrecognised HAL_INS_TYPE setting
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_enable_mask.set(found_mask);
|
|
||||||
|
|
||||||
if (_backend_count == 0) {
|
if (_backend_count == 0) {
|
||||||
AP_BoardConfig::sensor_config_error("INS: unable to initialise driver");
|
AP_BoardConfig::sensor_config_error("INS: unable to initialise driver");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue