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 385c76dd30..1a9421dfec 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 = 20211004; + public static final int CONSOLE_VERSION = 20211007; public static AtomicReference firmwareVersion = new AtomicReference<>("N/A"); public static long classBuildTimeMillis() { diff --git a/java_console/ui/src/main/java/com/rusefi/ui/LogSizeControl.java b/java_console/ui/src/main/java/com/rusefi/ui/LogSizeControl.java index ec36b30465..bb61cdc841 100644 --- a/java_console/ui/src/main/java/com/rusefi/ui/LogSizeControl.java +++ b/java_console/ui/src/main/java/com/rusefi/ui/LogSizeControl.java @@ -7,7 +7,7 @@ import java.awt.*; import java.awt.event.ActionEvent; public class LogSizeControl { - private static final String LINES = "SCREEN_LOG_LINES"; + private static final String BYTES = "SCREEN_LOG_BYTES"; private final JPanel content = new JPanel(new FlowLayout()); @@ -25,13 +25,13 @@ public class LogSizeControl { } catch (NumberFormatException ex) { return; } - config.setProperty(LINES, Integer.toString(value)); + config.setProperty(BYTES, Integer.toString(value)); } }); } public static int getValue(Node config) { - return config.getIntProperty(LINES, 1000); + return config.getIntProperty(BYTES, 50000); } public Component getContent() {