something was not ideal with port combobox limit
This commit is contained in:
parent
9569a87031
commit
805c478eec
|
@ -6,7 +6,7 @@ import java.net.URL;
|
||||||
import java.util.concurrent.atomic.AtomicReference;
|
import java.util.concurrent.atomic.AtomicReference;
|
||||||
|
|
||||||
public class rusEFIVersion {
|
public class rusEFIVersion {
|
||||||
public static final int CONSOLE_VERSION = 20221002;
|
public static final int CONSOLE_VERSION = 20221003;
|
||||||
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||||
|
|
||||||
public static long classBuildTimeMillis() {
|
public static long classBuildTimeMillis() {
|
||||||
|
|
|
@ -34,7 +34,7 @@ public enum SerialPortScanner {
|
||||||
void findAllAvailablePorts(boolean includeSlowTcpLookup) {
|
void findAllAvailablePorts(boolean includeSlowTcpLookup) {
|
||||||
List<String> ports = new ArrayList<>();
|
List<String> ports = new ArrayList<>();
|
||||||
String[] serialPorts = LinkManager.getCommPorts();
|
String[] serialPorts = LinkManager.getCommPorts();
|
||||||
if (serialPorts.length > 0 && serialPorts.length < 15)
|
if (serialPorts.length > 0)
|
||||||
ports.add(AUTO_SERIAL);
|
ports.add(AUTO_SERIAL);
|
||||||
ports.addAll(Arrays.asList(serialPorts));
|
ports.addAll(Arrays.asList(serialPorts));
|
||||||
if (includeSlowTcpLookup)
|
if (includeSlowTcpLookup)
|
||||||
|
|
Loading…
Reference in New Issue