mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
f435 correct uart->tx_af
This commit is contained in:
parent
6623750dbd
commit
4ce017e202
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ uartPort_t *serialUART(UARTDevice_e device, uint32_t baudRate, portMode_t mode,
|
|||
else {
|
||||
if (mode & MODE_TX) {
|
||||
IOInit(tx, OWNER_SERIAL, RESOURCE_UART_TX, RESOURCE_INDEX(device));
|
||||
IOConfigGPIOAF(tx, IOCFG_AF_PP, uart->rx_af);
|
||||
IOConfigGPIOAF(tx, IOCFG_AF_PP, uart->tx_af);
|
||||
}
|
||||
|
||||
if (mode & MODE_RX) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue