Merge pull request #3472 from jflyper/bfdev-use-USE_FLASH_M25P16

Minor tidy in spiPreInit
This commit is contained in:
borisbstyle 2017-07-10 09:47:26 +02:00 committed by GitHub
commit 5ad25e49b1
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ void spiPreInit(void)
#ifdef RTC6705_CS_PIN // XXX VTX_RTC6705? Should use USE_ format.
spiPreInitCs(IO_TAG(RTC6705_CS_PIN));
#endif
#ifdef M25P16_CS_PIN // XXX Should use USE_ format.
#ifdef USE_FLASH_M25P16
spiPreInitCs(IO_TAG(M25P16_CS_PIN));
#endif
#if defined(USE_RX_SPI) && !defined(USE_RX_SOFTSPI)