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:
parent
19a701a944
commit
1a4795c398
3 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue