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

Even more devices (RX_SPI and RX_NRF24)

This commit is contained in:
jflyper 2017-06-21 03:12:05 +09:00
parent 8a03089569
commit a2718a91cd

View file

@ -233,6 +233,12 @@ void spiPreInit(void)
#ifdef M25P16_CS_PIN // XXX Should use USE_ format. #ifdef M25P16_CS_PIN // XXX Should use USE_ format.
spiPreInitCs(IO_TAG(M25P16_CS_PIN)); spiPreInitCs(IO_TAG(M25P16_CS_PIN));
#endif #endif
#ifdef USE_RX_NRF24
spiPreInitCs(IO_TAG(RX_CE_PIN));
#endif
#if defined(USE_RX_SPI) && !defined(USE_RX_SOFTSPI)
spiPreInitCs(IO_TAG(RX_NSS_PIN));
#endif
} }
#endif #endif