mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 01:20:24 +08:00
Update uart_config.h
This commit is contained in:
parent
a4b57e2d6c
commit
35ded2acb3
@ -33,10 +33,10 @@ extern "C" {
|
||||
#ifndef UART1_DMA_CONFIG
|
||||
#define UART1_DMA_CONFIG \
|
||||
{ \
|
||||
.Instance = USART1_RX_DMA_INSTANCE, \
|
||||
.channel = USART1_RX_DMA_CHANNEL, \
|
||||
.dma_rcc = USART1_RX_DMA_RCC, \
|
||||
.dma_irq = USART1_RX_DMA_IRQ, \
|
||||
.Instance = UART1_RX_DMA_INSTANCE, \
|
||||
.channel = UART1_RX_DMA_CHANNEL, \
|
||||
.dma_rcc = UART1_RX_DMA_RCC, \
|
||||
.dma_irq = UART1_RX_DMA_IRQ, \
|
||||
}
|
||||
#endif /* UART1_DMA_CONFIG */
|
||||
#endif /* BSP_UART1_RX_USING_DMA */
|
||||
|
Loading…
x
Reference in New Issue
Block a user