1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00

Removed extraneous parentheses to resolve compiler warning (#14441)

This commit is contained in:
Eric Katzfey 2025-06-14 11:24:31 -07:00 committed by GitHub
parent c3fe02be20
commit a94083e77d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1628,7 +1628,7 @@ static void cliSerialPassthrough(const char *cmdName, char *cmdline)
cliPrintLinef("Forwarding, power cycle %sto exit.", resetMessage);
if ((ports[1].id == SERIAL_PORT_USB_VCP)) {
if (ports[1].id == SERIAL_PORT_USB_VCP) {
do {
if (port1ResetOnDtr) {
serialSetCtrlLineStateCb(ports[1].port, cbCtrlLine_reset, NULL);