Browse Source

AP_InertialSensor: don't set INS_ENABLE_MASK to found IMU mask

master
Andrew Tridgell 6 years ago
parent
commit
c988eb2fd9
  1. 2
      libraries/AP_InertialSensor/AP_InertialSensor.cpp

2
libraries/AP_InertialSensor/AP_InertialSensor.cpp

@ -879,8 +879,6 @@ AP_InertialSensor::detect_backends(void) @@ -879,8 +879,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");
}

Loading…
Cancel
Save