From c7b535126a24cdd74d712c73f4176c07283d7de5 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 21 Oct 2021 19:20:11 -0400 Subject: [PATCH] refactoring --- .../src/main/java/com/rusefi/binaryprotocol/BinaryProtocol.java | 2 +- .../shared_io/src/main/java/com/rusefi/rusEFIVersion.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java_console/io/src/main/java/com/rusefi/binaryprotocol/BinaryProtocol.java b/java_console/io/src/main/java/com/rusefi/binaryprotocol/BinaryProtocol.java index 61a4f57262..78cf63c05c 100644 --- a/java_console/io/src/main/java/com/rusefi/binaryprotocol/BinaryProtocol.java +++ b/java_console/io/src/main/java/com/rusefi/binaryprotocol/BinaryProtocol.java @@ -492,7 +492,7 @@ public class BinaryProtocol { public void writeData(byte[] content, int contentOffset, int ecuOffset, int size) { isBurnPending = true; - byte packet[] = new byte[5 + size]; + byte[] packet = new byte[5 + size]; packet[0] = Fields.TS_CHUNK_WRITE_COMMAND; putShort(packet, 1, swap16(ecuOffset)); putShort(packet, 3, swap16(size)); 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 576f571d09..3945fa110c 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 = 20211019; + public static final int CONSOLE_VERSION = 20211021; public static AtomicReference firmwareVersion = new AtomicReference<>("N/A"); public static long classBuildTimeMillis() {