Merge pull request #3472 from jflyper/bfdev-use-USE_FLASH_M25P16
Minor tidy in spiPreInit
This commit is contained in:
commit
5ad25e49b1
|
@ -229,7 +229,7 @@ void spiPreInit(void)
|
||||||
#ifdef RTC6705_CS_PIN // XXX VTX_RTC6705? Should use USE_ format.
|
#ifdef RTC6705_CS_PIN // XXX VTX_RTC6705? Should use USE_ format.
|
||||||
spiPreInitCs(IO_TAG(RTC6705_CS_PIN));
|
spiPreInitCs(IO_TAG(RTC6705_CS_PIN));
|
||||||
#endif
|
#endif
|
||||||
#ifdef M25P16_CS_PIN // XXX Should use USE_ format.
|
#ifdef USE_FLASH_M25P16
|
||||||
spiPreInitCs(IO_TAG(M25P16_CS_PIN));
|
spiPreInitCs(IO_TAG(M25P16_CS_PIN));
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_RX_SPI) && !defined(USE_RX_SOFTSPI)
|
#if defined(USE_RX_SPI) && !defined(USE_RX_SOFTSPI)
|
||||||
|
|
Loading…
Reference in New Issue