mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
remove SPI unnecessary reset
This commit is contained in:
parent
af28f08bc7
commit
0fde03c24e
1 changed files with 0 additions and 1 deletions
|
@ -82,7 +82,6 @@ void spiInitDevice(SPIDevice device)
|
|||
|
||||
// Enable SPI clock
|
||||
RCC_ClockCmd(spi->rcc, ENABLE);
|
||||
RCC_ResetCmd(spi->rcc, ENABLE);
|
||||
|
||||
IOInit(IOGetByTag(spi->sck), OWNER_SPI_SCK, RESOURCE_INDEX(device));
|
||||
IOInit(IOGetByTag(spi->miso), OWNER_SPI_SDI, RESOURCE_INDEX(device));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue