mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Tidied UART enum definitions
This commit is contained in:
parent
bacc6e6fb1
commit
944fe0761c
34 changed files with 65 additions and 73 deletions
|
@ -48,7 +48,7 @@ void uartSetBaudRate(serialPort_t *instance, uint32_t baudRate)
|
|||
uartReconfigure(uartPort);
|
||||
}
|
||||
|
||||
void uartSetMode(serialPort_t *instance, portMode_t mode)
|
||||
void uartSetMode(serialPort_t *instance, portMode_e mode)
|
||||
{
|
||||
uartPort_t *uartPort = (uartPort_t *)instance;
|
||||
uartPort->port.mode = mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue