mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Adding support for UART0 (#14094)
This commit is contained in:
parent
59e308ae56
commit
31bd403446
13 changed files with 131 additions and 49 deletions
|
@ -46,6 +46,9 @@ typedef struct uartDmaopt_s {
|
|||
} uartDmaopt_t;
|
||||
|
||||
static const uartDmaopt_t uartDmaopt[] = {
|
||||
#ifdef USE_UART0
|
||||
{ SERIAL_PORT_UART0, UART0_TX_DMA_OPT, UART0_RX_DMA_OPT },
|
||||
#endif
|
||||
#ifdef USE_UART1
|
||||
{ SERIAL_PORT_USART1, UART1_TX_DMA_OPT, UART1_RX_DMA_OPT },
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue