px4fmu-v5:Add all I2C defines for all busses

Define BOARD_NUMBER_I2C_BUSES and BOARD_I2C_BUS_CLOCK_INIT
   for I2C1-4
This commit is contained in:
David Sidrane
2017-08-07 16:28:31 -10:00
committed by Lorenz Meier
parent 64aaec4419
commit b4f5e36fb1

View File

@@ -198,8 +198,12 @@
#define PX4_I2C_BUS_EXPANSION 1
#define PX4_I2C_BUS_EXPANSION1 2
#define PX4_I2C_BUS_EXPANSION2 4
#define PX4_I2C_BUS_EXPANSION3 3
#define PX4_I2C_BUS_LED PX4_I2C_BUS_EXPANSION
#define BOARD_NUMBER_I2C_BUSES 4
#define BOARD_I2C_BUS_CLOCK_INIT {100000, 100000, 100000, 100000}
/* Devices on the external bus.
*
* Note that these are unshifted addresses.