修复spi驱动中spi_config一个bug"

This commit is contained in:
e190 2018-12-11 09:18:25 +08:00 committed by GitHub
parent 92338d50c4
commit e296967000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@
{ \ { \
.Instance = SPI2, \ .Instance = SPI2, \
.bus_name = "spi2", \ .bus_name = "spi2", \
.dma_rx.dma_rx.dma_rcc = RCC_AHB1ENR_DMA1EN, \ .dma_rx.dma_rcc = RCC_AHB1ENR_DMA1EN, \
.dma_tx.dma_rx.dma_rcc = RCC_AHB1ENR_DMA1EN, \ .dma_tx.dma_rcc = RCC_AHB1ENR_DMA1EN, \
.dma_rx.Instance = DMA1_Stream3, \ .dma_rx.Instance = DMA1_Stream3, \
.dma_rx.channel = DMA_CHANNEL_0, \ .dma_rx.channel = DMA_CHANNEL_0, \
.dma_rx.dma_irq = DMA1_Stream3_IRQn, \ .dma_rx.dma_irq = DMA1_Stream3_IRQn, \