From e296967000d06801d39d40bac3604ad6d3c8adf4 Mon Sep 17 00:00:00 2001 From: e190 <39932163+e190@users.noreply.github.com> Date: Tue, 11 Dec 2018 09:18:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dspi=E9=A9=B1=E5=8A=A8?= =?UTF-8?q?=E4=B8=ADspi=5Fconfig=E4=B8=80=E4=B8=AAbug"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/libraries/HAL_Drivers/config/f4/spi_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/stm32/libraries/HAL_Drivers/config/f4/spi_config.h b/bsp/stm32/libraries/HAL_Drivers/config/f4/spi_config.h index 791c51bd27..8a1ff11059 100644 --- a/bsp/stm32/libraries/HAL_Drivers/config/f4/spi_config.h +++ b/bsp/stm32/libraries/HAL_Drivers/config/f4/spi_config.h @@ -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, \