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:
José Roberto de Souza
2016-11-28 09:21:12 +01:00
committed by Lorenz Meier
parent c49c3f469e
commit 8fb15f1de8
3 changed files with 12 additions and 2 deletions
+2 -1
View File
@@ -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