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:
parent
5594a5c5b9
commit
2069965df1
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue