1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 00:05:28 +03:00

Fix whitespace. Remove commented out code.

This commit is contained in:
Dominic Clifton 2015-11-28 14:07:09 +00:00
parent bd460d18f7
commit 9add024327
3 changed files with 114 additions and 161 deletions

View file

@ -2316,7 +2316,8 @@ static void cliUSB1Wire(char *cmdline)
cliPrint("Please specify a ouput channel. e.g. `1wire 2` to connect to motor 2\r\n");
return;
} else {
usb1WireInitialize(); // init ESC outputs and get escCount value
usb1WireInitialize();
int i;
i = atoi(cmdline);
if (i >= 0 && i <= escCount) {
@ -2326,7 +2327,6 @@ static void cliUSB1Wire(char *cmdline)
}
else {
printf("Invalid motor port, valid range: 1 to %d\r\n", escCount);
// cliReboot();
}
}
}