AP_Baro: support MindPX-v2

This commit is contained in:
Andrew Tridgell 2018-01-12 08:26:04 +11:00
parent 5af4f8b364
commit 51f9f087ab

View File

@ -440,6 +440,11 @@ void AP_Baro::init(void)
std::move(hal.spi->get_device(HAL_BARO_MS5611_SPI_INT_NAME))));
break;
case AP_BoardConfig::PX4_BOARD_MINDPXV2:
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
std::move(hal.spi->get_device(HAL_BARO_MS5611_NAME))));
break;
case AP_BoardConfig::PX4_BOARD_AEROFC:
#ifdef HAL_BARO_MS5607_I2C_BUS
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,