Skip to content
Snippets Groups Projects
Commit b8c789cf authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

AP_Baro: switch pixracer to always use in-tree drivers

parent b0b93f89
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment