ms5611: fix start_bus() logic to work on linux and add RPi I2C bus config (#13814)

This commit is contained in:
SalimTerryLi
2019-12-31 05:16:56 +08:00
committed by Daniel Agar
parent c8fb3c589a
commit 87e5da189b
4 changed files with 23 additions and 16 deletions
+4 -2
View File
@@ -48,8 +48,10 @@
/*
* I2C busses
*/
#define PX4_I2C_BUS_EXPANSION 1
#define PX4_NUMBER_I2C_BUSES 1
#define PX4_I2C_BUS_ONBOARD 1
#define PX4_I2C_BUS_EXPANSION 0
#define PX4_NUMBER_I2C_BUSES 2
#define ADC_BATTERY_VOLTAGE_CHANNEL 0
#define ADC_BATTERY_CURRENT_CHANNEL 1