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

Add missing BMP280 on SPI support

This commit is contained in:
jflyper 2017-12-25 01:38:09 +09:00
parent 5594a5c5b9
commit 2069965df1

View file

@ -146,6 +146,12 @@
#define USE_BARO_BMP085
#define USE_BARO_BMP280
#if defined(AIRBOTF4) || defined(AIRBOTF4SD)
#define USE_BARO_SPI_BMP280
#define BMP280_SPI_INSTANCE SPI1
#define BMP280_CS_PIN PC13
#endif
#if defined(AIRBOTF4SD)
// SDCARD support for AIRBOTF4SD
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT