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

Fix missing baro support for AIRHEROF3 target

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2016-10-04 00:04:17 +10:00
parent 7316a589f3
commit b0b987c313
2 changed files with 2 additions and 1 deletions

View file

@ -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;