From 800b4e8439581fbc5eddaaebe6f394dadc000a2f Mon Sep 17 00:00:00 2001 From: MITuritsyn Date: Tue, 19 Dec 2023 20:35:54 +0700 Subject: [PATCH] add dps310 to mambaf722_i2c (#268) * add dps310 to mambaf722_i2c have this FC with DPS310 baro https://cdn.shopifycdn.net/s/files/1/0027/2708/4144/files/DJI_F722_MK2_F55_128K.jpg?v=1652324572 * Update config.h --------- Co-authored-by: Mark Haslinghuis --- configs/MAMBAF722_I2C/config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/MAMBAF722_I2C/config.h b/configs/MAMBAF722_I2C/config.h index d4aa674f..9356974b 100644 --- a/configs/MAMBAF722_I2C/config.h +++ b/configs/MAMBAF722_I2C/config.h @@ -28,11 +28,13 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_MPU6500 #define USE_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_GYRO_SPI_MPU6500 -#define USE_ACC_SPI_MPU6500 +#define USE_BARO #define USE_BARO_BMP280 +#define USE_BARO_DPS310 #define USE_FLASH #define USE_FLASH_W25Q128FV #define USE_MAX7456 @@ -112,7 +114,6 @@ #define PINIO1_PIN PB0 -#define USE_BARO #define BARO_I2C_INSTANCE (I2CDEV_1) #define MAG_I2C_INSTANCE (I2CDEV_1)