mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 00:05:28 +03:00
serial1wire cleanup per @4712 and @Echelon9
This commit is contained in:
parent
67f74121d6
commit
6d66aecf6d
4 changed files with 9 additions and 13 deletions
|
@ -2135,8 +2135,6 @@ static void cliUSB1Wire(char *cmdline)
|
|||
printf("Invalid motor port, valid range: 1 to %d\r\n", ESC_COUNT);
|
||||
}
|
||||
}
|
||||
UNUSED(cmdline);
|
||||
StopPwmAllMotors();
|
||||
// motor 1 => index 0
|
||||
usb1WirePassthrough(i-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue