This commit is contained in:
rusefillc 2024-02-23 20:16:54 -05:00
parent 465022213a
commit 0553fff15e
1 changed files with 0 additions and 6 deletions

View File

@ -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));