bmp388: cleanup main and add to px4_fmu-v5x board_config.h

This commit is contained in:
Daniel Agar
2019-11-20 12:19:50 -05:00
parent 3f05a7724d
commit 1af7af02db
7 changed files with 139 additions and 177 deletions

View File

@@ -276,6 +276,13 @@
#define PX4_I2C_BUS_ONBOARD 4
#define PX4_I2C_BUS_LED PX4_I2C_BUS_EXPANSION
/* Devices on the onboard bus.
*
* Note that these are unshifted addresses.
*/
#define PX4_I2C_OBDEV_BMP388 0x76
#define PX4_I2C_OBDEV_A71CH 0x49
#define BOARD_NUMBER_I2C_BUSES 4
#define BOARD_I2C_BUS_CLOCK_INIT {100000, 100000, 100000, 100000}