Browse Source

AP_HAL_Linux: Add support for SPIDevice_MS5611

mission-4.1.18
Víctor Mayoral Vilches 11 years ago committed by Andrew Tridgell
parent
commit
3354fa9fc8
  1. 2
      libraries/AP_HAL_Linux/SPIDriver.cpp

2
libraries/AP_HAL_Linux/SPIDriver.cpp

@ -128,6 +128,8 @@ AP_HAL::SPIDeviceDriver* LinuxSPIDeviceManager::device(enum AP_HAL::SPIDevice de @@ -128,6 +128,8 @@ AP_HAL::SPIDeviceDriver* LinuxSPIDeviceManager::device(enum AP_HAL::SPIDevice de
return &_device_cs1;
case AP_HAL::SPIDevice_MPU9250:
return &_device_cs1;
case AP_HAL::SPIDevice_MS5611:
return &_device_cs1;
}
return NULL;
}

Loading…
Cancel
Save