mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Baro: support PCNC1
This commit is contained in:
parent
12a3cc1179
commit
b2172a0475
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user