From 3068e6e3d491399dfc4078e5459a7f25a5e95630 Mon Sep 17 00:00:00 2001 From: David Pinho Date: Sat, 27 Apr 2024 01:08:07 +0100 Subject: [PATCH] Add baro and mag support to GEPRCF722_BT_HD (#398) * Add baro and mag support to GEPRCF722_BT_HD GEPRCF722_BT_HD exposes I2CDEV_2, commonly used with baro/mag. Add support for DPS310/QMC5883L (e.g. GEP-M10-DQ). * Update configs/GEPRCF722_BT_HD/config.h --------- Co-authored-by: Mark Haslinghuis --- configs/GEPRCF722_BT_HD/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/GEPRCF722_BT_HD/config.h b/configs/GEPRCF722_BT_HD/config.h index 30e28ca0..5b7b2cb4 100644 --- a/configs/GEPRCF722_BT_HD/config.h +++ b/configs/GEPRCF722_BT_HD/config.h @@ -100,6 +100,7 @@ #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH #define MAG_I2C_INSTANCE (I2CDEV_2) +#define BARO_I2C_INSTANCE (I2CDEV_2) #define ADC_INSTANCE ADC3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON