probably very minor bugfix?

This commit is contained in:
rusefillc 2021-04-15 16:52:33 -04:00
parent 2b9352fe7f
commit 35a588fd82
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public enum SerialPortScanner {
void findAllAvailablePorts() {
List<String> ports = new ArrayList<>();
String[] serialPorts = LinkManager.getCommPorts();
if (serialPorts.length > 0 || serialPorts.length < 15)
if (serialPorts.length > 0 && serialPorts.length < 15)
ports.add(AUTO_SERIAL);
ports.addAll(Arrays.asList(serialPorts));
ports.addAll(TcpConnector.getAvailablePorts());