Skip to content

Commit 35ded2a

Browse files
authored
Update uart_config.h
1 parent a4b57e2 commit 35ded2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bsp/stm32/libraries/HAL_Drivers/config/f7/uart_config.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ extern "C" {
3333
#ifndef UART1_DMA_CONFIG
3434
#define UART1_DMA_CONFIG \
3535
{ \
36-
.Instance = USART1_RX_DMA_INSTANCE, \
37-
.channel = USART1_RX_DMA_CHANNEL, \
38-
.dma_rcc = USART1_RX_DMA_RCC, \
39-
.dma_irq = USART1_RX_DMA_IRQ, \
36+
.Instance = UART1_RX_DMA_INSTANCE, \
37+
.channel = UART1_RX_DMA_CHANNEL, \
38+
.dma_rcc = UART1_RX_DMA_RCC, \
39+
.dma_irq = UART1_RX_DMA_IRQ, \
4040
}
4141
#endif /* UART1_DMA_CONFIG */
4242
#endif /* BSP_UART1_RX_USING_DMA */

0 commit comments

Comments
 (0)