mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 05:43:34 +08:00
aerofc: Enable I2C1 for external compass
For now it is only checking if there is a external HMC5883, if necessary more compass should be added and probe.
This commit is contained in:
committed by
Lorenz Meier
parent
c49c3f469e
commit
8fb15f1de8
@@ -87,7 +87,8 @@
|
||||
* I2C3_SDL PA8 COMPASS_I2C3_SCL JP1-25,26
|
||||
*
|
||||
*/
|
||||
#define PX4_I2C_BUS_ONBOARD 3
|
||||
#define PX4_I2C_BUS_EXPANSION 1
|
||||
#define PX4_I2C_BUS_ONBOARD 3
|
||||
|
||||
#define PX4_I2C_OBDEV_HMC5883 0x1E
|
||||
|
||||
|
||||
Reference in New Issue
Block a user