diff --git a/src/main/cli/cli.c b/src/main/cli/cli.c index 67d2491dc4..b3b1caed5d 100644 --- a/src/main/cli/cli.c +++ b/src/main/cli/cli.c @@ -1560,7 +1560,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 = "";