From 9e272b7a95c3b0fe3f1beef8ce560fb29ac626bf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 14 Feb 2018 16:41:00 +1100 Subject: [PATCH] AP_Baro: support SP01 board --- libraries/AP_Baro/AP_Baro.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Baro/AP_Baro.cpp b/libraries/AP_Baro/AP_Baro.cpp index 6155a09ade..12ada6c99b 100644 --- a/libraries/AP_Baro/AP_Baro.cpp +++ b/libraries/AP_Baro/AP_Baro.cpp @@ -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,