mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
cli: fix baudrate reconfigure based on USB VCP baudrate
This commit is contained in:
parent
b414be320f
commit
885c520adb
1 changed files with 1 additions and 1 deletions
|
@ -1559,7 +1559,7 @@ static void cliSerialPassthrough(const char *cmdName, char *cmdline)
|
||||||
cliPrintLine("Port1 baud rate change over USB enabled.");
|
cliPrintLine("Port1 baud rate change over USB enabled.");
|
||||||
// Register the right side baud rate setting routine with the left side which allows setting of the UART
|
// Register the right side baud rate setting routine with the left side which allows setting of the UART
|
||||||
// baud rate over USB without setting it using the serialpassthrough command
|
// baud rate over USB without setting it using the serialpassthrough command
|
||||||
serialSetBaudRateCb(ports[0].port, serialSetBaudRate, ports[1].port);
|
serialSetBaudRateCb(ports[1].port, serialSetBaudRate, ports[0].port);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *resetMessage = "";
|
char *resetMessage = "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue