AP_Baro: switch pixracer to always use in-tree drivers
This commit is contained in:
parent
b0b93f8928
commit
b8c789cf35
@ -309,7 +309,7 @@ void AP_Baro::init(void)
|
||||
drivers[1] = new AP_Baro_MS5611(*this,
|
||||
std::move(hal.spi->get_device(HAL_BARO_MS5611_NAME)));
|
||||
_num_drivers = 2;
|
||||
} else if (AP_BoardConfig::get_board_type() == AP_BoardConfig::PX4_BOARD_TEST_V4) {
|
||||
} else if (AP_BoardConfig::get_board_type() == AP_BoardConfig::PX4_BOARD_PIXRACER) {
|
||||
drivers[0] = new AP_Baro_MS5611(*this,
|
||||
std::move(hal.spi->get_device(HAL_BARO_MS5611_SPI_INT_NAME)));
|
||||
_num_drivers = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user