mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Even more devices (RX_SPI and RX_NRF24)
This commit is contained in:
parent
8a03089569
commit
a2718a91cd
1 changed files with 6 additions and 0 deletions
|
@ -233,6 +233,12 @@ void spiPreInit(void)
|
|||
#ifdef M25P16_CS_PIN // XXX Should use USE_ format.
|
||||
spiPreInitCs(IO_TAG(M25P16_CS_PIN));
|
||||
#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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue