From b952b38ad2f92d5759858391553426f39bd8acba Mon Sep 17 00:00:00 2001 From: ot0tot <36753790+ot0tot@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:27:53 -0400 Subject: [PATCH] Add missing BMP280 define (#513) --- configs/HIFIONRCF7/config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/HIFIONRCF7/config.h b/configs/HIFIONRCF7/config.h index 36d3810f..f03b8ceb 100644 --- a/configs/HIFIONRCF7/config.h +++ b/configs/HIFIONRCF7/config.h @@ -33,6 +33,8 @@ #define USE_MAX7456 #define USE_FLASH #define USE_FLASH_W25Q128FV +#define USE_BARO +#define USE_BARO_BMP280 #define BEEPER_PIN PC15 #define MOTOR1_PIN PB0 @@ -93,8 +95,9 @@ #define ADC3_DMA_OPT 1 - #define ADC_INSTANCE ADC3 +#define MAG_I2C_INSTANCE (I2CDEV_1) +#define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC