1
0
Fork 0
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:
Nathan 2016-10-26 20:33:45 -06:00 committed by GitHub
parent 89fb5bc2d7
commit a5894f1c24
3 changed files with 8 additions and 0 deletions

View file

@ -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;