1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

F3 UART IO fix

This commit is contained in:
Michael Jakob 2016-07-27 23:16:43 +02:00
parent d64aa8c4fe
commit 167aaade9b

View file

@ -132,7 +132,7 @@ void serialUARTInit(IO_t tx, IO_t rx, portMode_t mode, portOptions_t options, ui
}
if (mode & MODE_RX) {
IOInit(tx, OWNER_SERIAL, RESOURCE_UART_TX, index);
IOInit(rx, OWNER_SERIAL, RESOURCE_UART_RX, index);
IOConfigGPIOAF(rx, ioCfg, af);
}
}