mirror of https://github.com/rusefi/rusefi.git
pain
This commit is contained in:
parent
465022213a
commit
0553fff15e
|
@ -256,12 +256,6 @@ public enum SerialPortScanner {
|
|||
// Sort ports by their type to put your ECU at the top
|
||||
ports.sort(Comparator.comparingInt(a -> a.type.sortOrder));
|
||||
|
||||
if (includeSlowLookup) {
|
||||
for (String tcpPort : TcpConnector.getAvailablePorts()) {
|
||||
ports.add(new PortResult(tcpPort, SerialPortType.Ecu));
|
||||
}
|
||||
}
|
||||
|
||||
if (includeSlowLookup) {
|
||||
for (String tcpPort : TcpConnector.getAvailablePorts()) {
|
||||
ports.add(new PortResult(tcpPort, SerialPortType.Ecu));
|
||||
|
|
Loading…
Reference in New Issue