refactor bmp388: use driver base class

This commit is contained in:
Beat Küng
2020-02-26 16:51:35 +01:00
committed by Daniel Agar
parent aeadf54a74
commit 985bb2adc9
8 changed files with 88 additions and 225 deletions

View File

@@ -31,7 +31,7 @@ bmm150 start
# Possible internal Baro
bmp388 -I start
bmp388 -J start
bmp388 -I -a 0x77 start
# Baro on I2C3
ms5611 -X start

View File

@@ -258,8 +258,6 @@
*
* Note that these are unshifted addresses.
*/
#define PX4_I2C_OBDEV_BMP388 0x76 // On IMU
#define PX4_I2C_OBDEV1_BMP388 0x77 // On FMUM
#define PX4_I2C_OBDEV_A71CH 0x49
#define BOARD_NUMBER_I2C_BUSES 4