mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
F3 UART IO fix
This commit is contained in:
parent
d64aa8c4fe
commit
167aaade9b
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ void serialUARTInit(IO_t tx, IO_t rx, portMode_t mode, portOptions_t options, ui
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mode & MODE_RX) {
|
if (mode & MODE_RX) {
|
||||||
IOInit(tx, OWNER_SERIAL, RESOURCE_UART_TX, index);
|
IOInit(rx, OWNER_SERIAL, RESOURCE_UART_RX, index);
|
||||||
IOConfigGPIOAF(rx, ioCfg, af);
|
IOConfigGPIOAF(rx, ioCfg, af);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue