1
0
Fork 0
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:
Ray Morris 2025-04-30 00:00:40 -05:00
parent 6623750dbd
commit 4ce017e202

View file

@ -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) {