RX_CE_PIN doesn't need to be initialized
This commit is contained in:
parent
a2718a91cd
commit
5845f96c1e
|
@ -233,9 +233,6 @@ 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)
|
#if defined(USE_RX_SPI) && !defined(USE_RX_SOFTSPI)
|
||||||
spiPreInitCs(IO_TAG(RX_NSS_PIN));
|
spiPreInitCs(IO_TAG(RX_NSS_PIN));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue