mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
F7 serial driver IO resource fix
This commit is contained in:
parent
e5801e3fbc
commit
08ed913de4
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ uartPort_t *serialUART(UARTDevice device, uint32_t baudRate, portMode_t mode, po
|
|||
}
|
||||
|
||||
// DMA TX Interrupt
|
||||
dmaInit(uart->txIrq, OWNER_SERIAL_TX, (uint32_t)uart);
|
||||
dmaInit(uart->txIrq, OWNER_SERIAL_TX, RESOURCE_INDEX(device));
|
||||
dmaSetHandler(uart->txIrq, dmaIRQHandler, uart->txPriority, (uint32_t)uart);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue