From 805c478eec13cb7fc42dd16ec8edb592c2a504ba Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 3 Oct 2022 19:30:07 -0400 Subject: [PATCH] something was not ideal with port combobox limit --- .../shared_io/src/main/java/com/rusefi/rusEFIVersion.java | 2 +- java_console/ui/src/main/java/com/rusefi/SerialPortScanner.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java_console/shared_io/src/main/java/com/rusefi/rusEFIVersion.java b/java_console/shared_io/src/main/java/com/rusefi/rusEFIVersion.java index a7b3ad3179..98704c50b1 100644 --- a/java_console/shared_io/src/main/java/com/rusefi/rusEFIVersion.java +++ b/java_console/shared_io/src/main/java/com/rusefi/rusEFIVersion.java @@ -6,7 +6,7 @@ import java.net.URL; import java.util.concurrent.atomic.AtomicReference; public class rusEFIVersion { - public static final int CONSOLE_VERSION = 20221002; + public static final int CONSOLE_VERSION = 20221003; public static AtomicReference firmwareVersion = new AtomicReference<>("N/A"); public static long classBuildTimeMillis() { diff --git a/java_console/ui/src/main/java/com/rusefi/SerialPortScanner.java b/java_console/ui/src/main/java/com/rusefi/SerialPortScanner.java index afa46db022..360a998019 100644 --- a/java_console/ui/src/main/java/com/rusefi/SerialPortScanner.java +++ b/java_console/ui/src/main/java/com/rusefi/SerialPortScanner.java @@ -34,7 +34,7 @@ public enum SerialPortScanner { void findAllAvailablePorts(boolean includeSlowTcpLookup) { List ports = new ArrayList<>(); String[] serialPorts = LinkManager.getCommPorts(); - if (serialPorts.length > 0 && serialPorts.length < 15) + if (serialPorts.length > 0) ports.add(AUTO_SERIAL); ports.addAll(Arrays.asList(serialPorts)); if (includeSlowTcpLookup)