From 60ea8e9f7331c90edfaa938793f230041e94f5cb Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Thu, 5 Aug 2021 23:31:18 +1200 Subject: [PATCH] Merge pull request #10765 from cruwaller/pr-fix-vcp-baudrate-change --- src/main/cli/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cli/cli.c b/src/main/cli/cli.c index 0614608715..b722dea72a 100644 --- a/src/main/cli/cli.c +++ b/src/main/cli/cli.c @@ -1552,7 +1552,7 @@ static void cliSerialPassthrough(const char *cmdName, char *cmdline) 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 // 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 = "";