mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
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:
committed by
Lorenz Meier
parent
64aaec4419
commit
b4f5e36fb1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user