mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Baro: probe for MS5611 on I2C addr 0x76
This commit is contained in:
parent
3d42abe816
commit
758331612f
@ -647,6 +647,8 @@ void AP_Baro::_probe_i2c_barometers(void)
|
||||
FOREACH_I2C_EXTERNAL(i) {
|
||||
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
|
||||
std::move(hal.i2c_mgr->get_device(i, HAL_BARO_MS5611_I2C_ADDR))));
|
||||
ADD_BACKEND(AP_Baro_MS56XX::probe(*this,
|
||||
std::move(hal.i2c_mgr->get_device(i, HAL_BARO_MS5611_I2C_ADDR2))));
|
||||
}
|
||||
}
|
||||
if (probe & PROBE_MS5607) {
|
||||
|
@ -10,6 +10,10 @@
|
||||
#define HAL_BARO_MS5611_I2C_ADDR 0x77
|
||||
#endif
|
||||
|
||||
#ifndef HAL_BARO_MS5611_I2C_ADDR2
|
||||
#define HAL_BARO_MS5611_I2C_ADDR2 0x76
|
||||
#endif
|
||||
|
||||
#ifndef HAL_BARO_MS5607_I2C_ADDR
|
||||
#define HAL_BARO_MS5607_I2C_ADDR 0x77
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user