Skip to content

Commit

Permalink
Added QMC-5883 magnetometer support to SPRACING H7 NANO target
Browse files Browse the repository at this point in the history
Added QMC-5883 magnetometer support to SPRACING H7 NANO target. Duplicating pull request betaflight#9531
  • Loading branch information
nickdbate committed May 6, 2020
1 parent 061f379 commit f5cf84a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/target/SPRACINGH7NANO/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@

#define USE_MAG
#define USE_MAG_HMC5883
#define USE_MAG_QMC5883

#define USE_BARO
#define USE_BARO_BMP388
Expand Down
1 change: 1 addition & 0 deletions src/main/target/SPRACINGH7NANO/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ TARGET_SRC += \
drivers/accgyro/accgyro_mpu6500.c \
drivers/accgyro/accgyro_spi_mpu6500.c \
drivers/compass/compass_hmc5883l.c \
drivers/compass/compass_qmc5883l.c \
drivers/barometer/barometer_bmp085.c \
drivers/barometer/barometer_bmp280.c \
drivers/barometer/barometer_bmp388.c \
Expand Down

0 comments on commit f5cf84a

Please sign in to comment.