From e4546b6c4be0835bb42a5a5ab8c0dfdb8113135d Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 25 Jul 2020 20:44:33 -0400 Subject: [PATCH] all this is too broken, need proper test for all this :( --- .../src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java b/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java index ec1cf99f08..3c1504db11 100644 --- a/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java +++ b/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java @@ -229,7 +229,7 @@ public class BinaryProtocolServer implements BinaryProtocolCommands { int fromPacket = IoHelper.getCrc32(packet); if (crc != fromPacket) throw new IllegalStateException("CRC mismatch crc=" + Integer.toString(crc, 16) + " vs packet=" + Integer.toString(fromPacket, 16) + " len=" + packet.length + " data: " + IoStream.printHexBinary(packet)); - in.onPacketArrived(); +// todo?! in.onPacketArrived(); return new Packet(packet, crc); }