mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
F1 uses ref, not channel
This commit is contained in:
parent
697e5d3925
commit
1dc5486e02
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ void uart_tx_dma_IRQHandler(dmaChannelDescriptor_t* descriptor)
|
|||
{
|
||||
uartPort_t *s = (uartPort_t*)(descriptor->userParam);
|
||||
DMA_CLEAR_FLAG(descriptor, DMA_IT_TCIF);
|
||||
DMA_Cmd(descriptor->channel, DISABLE); // XXX F1 needs this!!!
|
||||
DMA_Cmd(descriptor->ref, DISABLE); // XXX F1 needs this!!!
|
||||
|
||||
uartTryStartTxDMA(s);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue