console creates new log file every 100 ms :( fix #5112

This commit is contained in:
rusefillc 2023-02-20 17:30:51 -05:00
parent 7950fc46cb
commit 60435b063a
4 changed files with 5 additions and 4 deletions

View File

@ -274,7 +274,7 @@ jobs:
- build-target: f407-discovery
folder: config/boards/f407-discovery
ini-file: rusefi_f407-discovery.ini
skip-rate: 99
skip-rate: 0
- build-target: f429-discovery
folder: config/boards/f429-discovery

View File

@ -38,6 +38,7 @@ Release template (copy/paste this for new release):
### Fixed
- Antilag switch pin mode was ignored #5036
- 50/83.3/125kbit CAN #5072
- console creates new log file every 100 ms #5112
## February 2023 Release - "Day 346"

View File

@ -6,7 +6,7 @@ import java.net.URL;
import java.util.concurrent.atomic.AtomicReference;
public class rusEFIVersion {
public static final int CONSOLE_VERSION = 20230203;
public static final int CONSOLE_VERSION = 20230220;
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
public static long classBuildTimeMillis() {

View File

@ -148,8 +148,8 @@ public class BinarySensorLog<T extends BinaryLogEntry> implements SensorLog {
writeLine(stream, category, 34);
}
if (stream.size() != headerWithTextSize)
throw new IllegalStateException("We are doing something wrong :( stream.size=" + stream.size());
if (stream.size() != headerSize)
throw new IllegalStateException("We are doing something wrong :( stream.size=" + stream.size() + " vs " + headerSize);
writeLine(stream, headerText, headerText.length());
}