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

Fixed defines for BARO_LPS.

This commit is contained in:
Michael Keller 2018-01-09 14:29:53 +13:00 committed by mikeller
parent 1b76929a3a
commit 72712b348d
4 changed files with 6 additions and 6 deletions

View file

@ -226,7 +226,7 @@ void spiPreInit(void)
#ifdef USE_BARO_SPI_MS5611
spiPreInitCs(IO_TAG(MS5611_CS_PIN));
#endif
#ifdef USE_BARO_LPS
#ifdef USE_BARO_SPI_LPS
spiPreInitCs(IO_TAG(LPS_CS_PIN));
#endif
#ifdef USE_MAG_SPI_HMC5883