mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: define GET_I2C_DEVICE()
This commit is contained in:
parent
15e15e0b9d
commit
2509b50852
|
@ -473,6 +473,8 @@ void AP_Baro::init(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#define GET_I2C_DEVICE(bus, address) hal.i2c_mgr->get_device(bus, address)
|
||||
|
||||
#if defined(HAL_BARO_PROBE_LIST)
|
||||
// probe list from BARO lines in hwdef.dat
|
||||
HAL_BARO_PROBE_LIST;
|
||||
|
|
Loading…
Reference in New Issue