Merge pull request #840 from AlienWiiBF/UART_fix

F3 UART IO fix
This commit is contained in:
Martin Budden 2016-07-27 22:45:03 +01:00 committed by GitHub
commit c8674cb080
1 changed files with 1 additions and 1 deletions

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);
}
}