From 76905165257e89b69f4e7d6de422f448433dd545 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 4 Dec 2023 18:50:07 +0100 Subject: [PATCH] Add BMP280 to HAKRCF722D (#252) --- configs/HAKRCF722D/config.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/configs/HAKRCF722D/config.h b/configs/HAKRCF722D/config.h index 14ec132a..fb2086c7 100644 --- a/configs/HAKRCF722D/config.h +++ b/configs/HAKRCF722D/config.h @@ -35,6 +35,8 @@ #define USE_ACCGYRO_BMI270 #define USE_GYRO_SPI_ICM42688P #define USE_ACC_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_BMP280 #define USE_BARO_DPS310 #define USE_FLASH #define USE_FLASH_W25Q128FV @@ -107,15 +109,11 @@ TIMER_PIN_MAP(12, PA0 , 2, 0) \ TIMER_PIN_MAP(13, PB10, 1, 0) - #define SPI3_TX_DMA_OPT 0 #define ADC1_DMA_OPT 0 #define MAG_I2C_INSTANCE (I2CDEV_1) -#define USE_BARO #define BARO_I2C_INSTANCE (I2CDEV_1) -#define USE_ADC -#define ADC_INSTANCE ADC1 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC @@ -125,9 +123,7 @@ #define PINIO1_BOX 40 #define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 -#define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define USE_SPI_GYRO #define GYRO_2_SPI_INSTANCE SPI1 #define GYRO_2_ALIGN CW90_DEG