mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Fix missing baro support for AIRHEROF3 target
This commit is contained in:
parent
7316a589f3
commit
b0b987c313
2 changed files with 2 additions and 1 deletions
|
@ -490,7 +490,7 @@ static bool detectBaro(baroSensor_e baroHardwareToUse)
|
|||
#endif
|
||||
; // fallthough
|
||||
case BARO_BMP280:
|
||||
#ifdef USE_BARO_BMP280
|
||||
#if defined(USE_BARO_BMP280) || defined(USE_BARO_SPI_BMP280)
|
||||
if (bmp280Detect(&baro)) {
|
||||
baroHardware = BARO_BMP280;
|
||||
break;
|
||||
|
|
|
@ -5,6 +5,7 @@ TARGET_SRC = \
|
|||
drivers/accgyro_mpu.c \
|
||||
drivers/accgyro_mpu6500.c \
|
||||
drivers/accgyro_spi_mpu6500.c \
|
||||
drivers/barometer_bmp280.c \
|
||||
drivers/barometer_spi_bmp280.c \
|
||||
drivers/light_ws2811strip.c \
|
||||
drivers/light_ws2811strip_stm32f30x.c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue