mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Baro: support SP01 board
This commit is contained in:
parent
b61caa9c57
commit
9e272b7a95
@ -431,6 +431,7 @@ void AP_Baro::init(void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case AP_BoardConfig::PX4_BOARD_PIXHAWK2:
|
case AP_BoardConfig::PX4_BOARD_PIXHAWK2:
|
||||||
|
case AP_BoardConfig::PX4_BOARD_SP01:
|
||||||
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
|
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
|
||||||
std::move(hal.spi->get_device(HAL_BARO_MS5611_SPI_EXT_NAME))));
|
std::move(hal.spi->get_device(HAL_BARO_MS5611_SPI_EXT_NAME))));
|
||||||
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
|
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
|
||||||
|
Loading…
Reference in New Issue
Block a user