From f4fec19148fa41e6ebcf718cbe0c81199103b3f3 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Thu, 18 Jan 2024 18:30:39 +0100 Subject: [PATCH] Remove duplicate baro define (#305) --- configs/IFLIGHT_H743_AIO_V2/config.h | 1 - configs/SPRACINGH7RF/config.h | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/IFLIGHT_H743_AIO_V2/config.h b/configs/IFLIGHT_H743_AIO_V2/config.h index 38bdfec6..17c6de22 100644 --- a/configs/IFLIGHT_H743_AIO_V2/config.h +++ b/configs/IFLIGHT_H743_AIO_V2/config.h @@ -114,7 +114,6 @@ #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH #define MAG_I2C_INSTANCE (I2CDEV_1) -#define USE_BARO #define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC diff --git a/configs/SPRACINGH7RF/config.h b/configs/SPRACINGH7RF/config.h index e4913a04..dff68391 100644 --- a/configs/SPRACINGH7RF/config.h +++ b/configs/SPRACINGH7RF/config.h @@ -97,7 +97,6 @@ #define I2C2_SDA_PIN PB11 #define MAG_I2C_INSTANCE (I2CDEV_1) -#define USE_BARO #define BARO_I2C_INSTANCE (I2CDEV_2) #define ENSURE_MPU_DATA_READY_IS_LOW