mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
Removed extraneous parentheses to resolve compiler warning (#14441)
This commit is contained in:
parent
c3fe02be20
commit
a94083e77d
1 changed files with 1 additions and 1 deletions
|
@ -1628,7 +1628,7 @@ static void cliSerialPassthrough(const char *cmdName, char *cmdline)
|
||||||
|
|
||||||
cliPrintLinef("Forwarding, power cycle %sto exit.", resetMessage);
|
cliPrintLinef("Forwarding, power cycle %sto exit.", resetMessage);
|
||||||
|
|
||||||
if ((ports[1].id == SERIAL_PORT_USB_VCP)) {
|
if (ports[1].id == SERIAL_PORT_USB_VCP) {
|
||||||
do {
|
do {
|
||||||
if (port1ResetOnDtr) {
|
if (port1ResetOnDtr) {
|
||||||
serialSetCtrlLineStateCb(ports[1].port, cbCtrlLine_reset, NULL);
|
serialSetCtrlLineStateCb(ports[1].port, cbCtrlLine_reset, NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue