AP_Baro: support PCNC1

This commit is contained in:
Andrew Tridgell 2017-06-21 17:03:03 +10:00
parent 12a3cc1179
commit b2172a0475

View File

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