From 09f53ae20228a4844a317785e9bd2a8731b3e84d Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Thu, 7 Sep 2023 14:52:03 +0200 Subject: [PATCH] Add MPU6000 to AXISFLYINGF7PRO (#165) Fixes https://github.com/betaflight/unified-targets/issues/1141 --- configs/AXISFLYINGF7PRO/config.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configs/AXISFLYINGF7PRO/config.h b/configs/AXISFLYINGF7PRO/config.h index 7c3081c8..e358f1b8 100644 --- a/configs/AXISFLYINGF7PRO/config.h +++ b/configs/AXISFLYINGF7PRO/config.h @@ -26,11 +26,14 @@ #define BOARD_NAME AXISFLYINGF7PRO #define MANUFACTURER_ID AXFL -#define USE_GYRO #define USE_ACC +#define USE_GYRO +#define USE_ACC_SPI_MPU6000 +#define USE_GYRO_SPI_MPU6000 #define USE_ACCGYRO_BMI270 -#define USE_GYRO_SPI_ICM42688P #define USE_ACC_SPI_ICM42688P +#define USE_GYRO_SPI_ICM42688P +#define USE_BARO #define USE_BARO_DPS310 #define USE_FLASH #define USE_FLASH_W25Q128FV @@ -100,7 +103,6 @@ #define ADC1_DMA_OPT 0 #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