mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 09:53:30 +08:00
修复spi驱动中spi_config一个bug"
This commit is contained in:
parent
92338d50c4
commit
e296967000
@ -37,8 +37,8 @@
|
||||
{ \
|
||||
.Instance = SPI2, \
|
||||
.bus_name = "spi2", \
|
||||
.dma_rx.dma_rx.dma_rcc = RCC_AHB1ENR_DMA1EN, \
|
||||
.dma_tx.dma_rx.dma_rcc = RCC_AHB1ENR_DMA1EN, \
|
||||
.dma_rx.dma_rcc = RCC_AHB1ENR_DMA1EN, \
|
||||
.dma_tx.dma_rcc = RCC_AHB1ENR_DMA1EN, \
|
||||
.dma_rx.Instance = DMA1_Stream3, \
|
||||
.dma_rx.channel = DMA_CHANNEL_0, \
|
||||
.dma_rx.dma_irq = DMA1_Stream3_IRQn, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user