mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
AP_HAL: stop defining a default Lightware I2C bus
When a specific bus isn't defined we now search I2C buses 0 and 1
This commit is contained in:
parent
bb46eaedaa
commit
be1f0801a3
@ -164,10 +164,6 @@
|
|||||||
#define HAL_HAVE_IMU_HEATER 0
|
#define HAL_HAVE_IMU_HEATER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_RANGEFINDER_LIGHTWARE_I2C_BUS
|
|
||||||
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAL_COMPASS_HMC5843_I2C_ADDR
|
#ifndef HAL_COMPASS_HMC5843_I2C_ADDR
|
||||||
#define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
|
#define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user