1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Add compass support for EXF722DUAL board. (#9092)

Add compass support for EXF722DUAL board.
This commit is contained in:
Michael Keller 2019-10-25 08:13:25 +13:00 committed by GitHub
commit 13d46c7d84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -118,6 +118,11 @@
#define USE_BARO_BMP280
#define DEFAULT_BARO_BMP280
#define USE_MAG
#define USE_MAG_HMC5883
#define USE_MAG_QMC5883
#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define ADC3_DMA_OPT 0 // DMA 2 Stream 0 Channel 2

View file

@ -5,4 +5,6 @@ TARGET_SRC = \
drivers/compass/compass_fake.c \
drivers/accgyro/accgyro_spi_icm20689.c \
drivers/barometer/barometer_bmp280.c \
drivers/compass/compass_hmc5883l.c \
drivers/compass/compass_qmc5883l.c \
drivers/max7456.c