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
parent edffc3001b
commit 87ae7ac422
1 changed files with 0 additions and 2 deletions

View File

@ -870,8 +870,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");
}