From 5845f96c1e7940eae2bda76fe61bac28623a607b Mon Sep 17 00:00:00 2001 From: jflyper Date: Thu, 22 Jun 2017 23:15:45 +0900 Subject: [PATCH] RX_CE_PIN doesn't need to be initialized --- src/main/fc/fc_init.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/fc/fc_init.c b/src/main/fc/fc_init.c index 0423605cb..a5d9efcd9 100644 --- a/src/main/fc/fc_init.c +++ b/src/main/fc/fc_init.c @@ -233,9 +233,6 @@ 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