AP_InertialSensor: don't set INS_ENABLE_MASK to found IMUs

this is needed for detection of failed cubes
This commit is contained in:
Andrew Tridgell 2019-04-24 12:23:54 +10:00 committed by Randy Mackay
parent 5e5775c3ca
commit 692c9a15df

View File

@ -867,8 +867,6 @@ AP_InertialSensor::detect_backends(void)
#error Unrecognised HAL_INS_TYPE setting
#endif
_enable_mask.set(found_mask);
if (_backend_count == 0) {
AP_BoardConfig::sensor_config_error("INS: unable to initialise driver");
}