mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
disable uart tx dma when using dshot on the spracingf3 (#1412)
This commit is contained in:
parent
89fb5bc2d7
commit
a5894f1c24
3 changed files with 8 additions and 0 deletions
|
@ -158,7 +158,9 @@ uartPort_t *serialUART1(uint32_t baudRate, portMode_t mode, portOptions_t option
|
|||
#ifdef USE_UART1_RX_DMA
|
||||
s->rxDMAChannel = DMA1_Channel5;
|
||||
#endif
|
||||
#ifdef USE_UART1_TX_DMA
|
||||
s->txDMAChannel = DMA1_Channel4;
|
||||
#endif
|
||||
|
||||
s->USARTx = USART1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue