summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
authorHao Zhu <[email protected]>2018-12-11 23:08:55 +0800
committerHao Zhu <[email protected]>2018-12-11 23:08:55 +0800
commit757232cdb6940e6eae8ca9d98e143b9af3155167 (patch)
tree23f3714da1dc672659bf5b5a8bd935ec15302046 /bsp/stm32
parentb9b05fff4bf50b03e2e3e39b88a526c4d7403bbb (diff)
parent54053454e6738fb82dbed9dbe43caca171070284 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/config/f4/spi_config.h4
1 files 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, \