From 7a3706094a052f9d7c09823d096b676c3c09d1e8 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 11 Mar 2024 14:34:52 +0100 Subject: [PATCH] Add DPS310 to MAMBAF405_2022A (#348) https://build.betaflight.com/api/support/0cf2f55c-0f84-41d2-b88f-5dbb09d307c9 --- configs/MAMBAF405_2022A/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/MAMBAF405_2022A/config.h b/configs/MAMBAF405_2022A/config.h index 56369e0b..648b594d 100644 --- a/configs/MAMBAF405_2022A/config.h +++ b/configs/MAMBAF405_2022A/config.h @@ -33,6 +33,8 @@ #define USE_ACC_SPI_MPU6500 #define USE_GYRO_SPI_MPU6500 #define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_DSP310 #define USE_FLASH #define USE_FLASH_M25P16 #define USE_MAX7456 @@ -97,8 +99,8 @@ #define PINIO1_PIN PC2 #define PINIO2_PIN PC5 +#define BARO_I2C_INSTANCE (I2CDEV_1) #define MAG_I2C_INSTANCE (I2CDEV_1) - #define ADC_INSTANCE ADC3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON