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

Only index into the configurable baud rate list when needed.

This commit is contained in:
Dominic Clifton 2015-03-03 17:30:35 +00:00
parent dca984ff88
commit a156d915f4
10 changed files with 11 additions and 13 deletions

View file

@ -110,7 +110,7 @@ serialPort_t *openSerialPort(
serialPortIdentifier_e identifier,
serialPortFunction_e function,
serialReceiveCallbackPtr callback,
baudRate_e baudrate,
uint32_t baudrate,
portMode_t mode,
serialInversion_e inversion
);