Browse Source

AP_Baro: added FMUv5 support

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
ae1a58ecb8
  1. 5
      libraries/AP_Baro/AP_Baro.cpp

5
libraries/AP_Baro/AP_Baro.cpp

@ -494,6 +494,11 @@ void AP_Baro::init(void) @@ -494,6 +494,11 @@ void AP_Baro::init(void)
std::move(hal.i2c_mgr->get_device(1, 0x63)),
std::move(hal.spi->get_device(HAL_INS_MPU60x0_NAME))));
break;
case AP_BoardConfig::PX4_BOARD_FMUV5:
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
std::move(hal.spi->get_device(HAL_BARO_MS5611_NAME))));
break;
default:
break;

Loading…
Cancel
Save