AP_Baro: support SP01 board

This commit is contained in:
Andrew Tridgell 2018-02-14 16:41:00 +11:00
parent b61caa9c57
commit 9e272b7a95

View File

@ -431,6 +431,7 @@ void AP_Baro::init(void)
break;
case AP_BoardConfig::PX4_BOARD_PIXHAWK2:
case AP_BoardConfig::PX4_BOARD_SP01:
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
std::move(hal.spi->get_device(HAL_BARO_MS5611_SPI_EXT_NAME))));
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,