mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Merge pull request #8771 from etracer65/target_furyf4osd_add_baro
Add missing baro support for target FURYF4OSD
This commit is contained in:
commit
2d4b2f827b
2 changed files with 26 additions and 25 deletions
|
@ -57,6 +57,11 @@
|
|||
#define USE_ACC_SPI_MPU6500
|
||||
#define USE_ACC_SPI_ICM20689
|
||||
|
||||
#define USE_BARO
|
||||
#define USE_BARO_MS5611
|
||||
#define USE_BARO_BMP280
|
||||
#define MS5611_I2C_INSTANCE I2CDEV_1
|
||||
|
||||
#ifdef FURYF4OSD
|
||||
#define USE_MAX7456
|
||||
#define MAX7456_SPI_INSTANCE SPI2
|
||||
|
@ -68,10 +73,6 @@
|
|||
|
||||
#else
|
||||
|
||||
#define USE_BARO
|
||||
#define USE_BARO_MS5611
|
||||
#define MS5611_I2C_INSTANCE I2CDEV_1
|
||||
|
||||
#define USE_SDCARD
|
||||
#define USE_SDCARD_SPI
|
||||
#define SDCARD_DETECT_INVERTED
|
||||
|
|
|
@ -14,7 +14,7 @@ TARGET_SRC = \
|
|||
ifeq ($(TARGET), FURYF4OSD)
|
||||
TARGET_SRC += \
|
||||
drivers/max7456.c
|
||||
else
|
||||
TARGET_SRC += \
|
||||
drivers/barometer/barometer_ms5611.c
|
||||
endif
|
||||
TARGET_SRC += \
|
||||
drivers/barometer/barometer_ms5611.c \
|
||||
drivers/barometer/barometer_bmp280.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue