This commit is contained in:
rusefi 2020-07-31 19:54:51 -04:00
parent aef12e44ef
commit cb0fe66f33
1 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ public class BinaryProtocolServer implements BinaryProtocolCommands {
BinaryProtocolState binaryProtocolState = linkManager.getBinaryProtocolState();
byte[] currentOutputs = binaryProtocolState.getCurrentOutputs();
if (currentOutputs != null)
System.arraycopy(currentOutputs, 1 + offset, response, 1, count);
System.arraycopy(currentOutputs, offset, response, 1, count);
stream.sendPacket(response);
} else if (command == Fields.TS_GET_TEXT) {
// todo: relay command