1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00

Removed unrequired RCC setting

This commit is contained in:
Martin Budden 2016-12-28 17:37:59 +00:00
parent 19a701a944
commit 1a4795c398
3 changed files with 0 additions and 9 deletions

View file

@ -56,9 +56,6 @@
static void NRF24L01_InitGpio(void)
{
#if defined(STM32F10X)
RCC_AHBPeriphClockCmd(RX_CE_GPIO_CLK_PERIPHERAL, ENABLE);
#endif
// CE as OUTPUT
const SPIDevice rxSPIDevice = spiDeviceByInstance(RX_SPI_INSTANCE);
IOInit(DEFIO_IO(RX_CE_PIN), OWNER_RX_SPI_CS, rxSPIDevice + 1);