rusefi_Console: SCREEN_LOG_LINES default value is too small fix #3333
This commit is contained in:
parent
31ffb0add4
commit
1948bc6769
|
@ -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<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
|
||||
public static long classBuildTimeMillis() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue