Browse Source

AP_Baro: define GET_I2C_DEVICE()

mission-4.1.18
Andrew Tridgell 6 years ago
parent
commit
2509b50852
  1. 2
      libraries/AP_Baro/AP_Baro.cpp

2
libraries/AP_Baro/AP_Baro.cpp

@ -473,6 +473,8 @@ void AP_Baro::init(void) @@ -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…
Cancel
Save