1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Change M25P16 to FLASH where appropriate

This commit is contained in:
jflyper 2018-05-02 18:53:45 +09:00
parent 6d72a853dd
commit 36fb439d45
52 changed files with 108 additions and 121 deletions

View file

@ -256,8 +256,8 @@ void spiPreInit(void)
#if defined(RTC6705_CS_PIN) && !defined(USE_VTX_RTC6705_SOFTSPI) // RTC6705 soft SPI initialisation handled elsewhere.
spiPreInitCs(IO_TAG(RTC6705_CS_PIN));
#endif
#ifdef M25P16_CS_PIN
spiPreInitCs(IO_TAG(M25P16_CS_PIN));
#ifdef FLASH_CS_PIN
spiPreInitCs(IO_TAG(FLASH_CS_PIN));
#endif
#if defined(USE_RX_SPI) && !defined(USE_RX_SOFTSPI)
spiPreInitCs(IO_TAG(RX_NSS_PIN));