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:
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue