AP_InertialSensor: don't set INS_ENABLE_MASK to found IMU mask

This commit is contained in:
Andrew Tridgell 2019-04-22 14:46:49 +10:00
parent a53480f904
commit ca37b06af2
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 #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");
} }