FMUv2: added define for PX4_I2C_BUS_ONBOARD

needed for hmc5883 on main bus (for FMUv3)
This commit is contained in:
Andrew Tridgell 2014-07-03 11:30:05 +10:00 committed by Lorenz Meier
parent 19dbbf17e8
commit e4e152a85b
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,8 @@ __BEGIN_DECLS
/* I2C busses */ /* I2C busses */
#define PX4_I2C_BUS_EXPANSION 1 #define PX4_I2C_BUS_EXPANSION 1
#define PX4_I2C_BUS_LED 2 #define PX4_I2C_BUS_ONBOARD 2
#define PX4_I2C_BUS_LED PX4_I2C_BUS_ONBOARD
/* Devices on the onboard bus. /* Devices on the onboard bus.
* *