mirror of https://github.com/rusefi/rusefi-1.git
progress
This commit is contained in:
parent
aef12e44ef
commit
cb0fe66f33
|
@ -184,7 +184,7 @@ public class BinaryProtocolServer implements BinaryProtocolCommands {
|
||||||
BinaryProtocolState binaryProtocolState = linkManager.getBinaryProtocolState();
|
BinaryProtocolState binaryProtocolState = linkManager.getBinaryProtocolState();
|
||||||
byte[] currentOutputs = binaryProtocolState.getCurrentOutputs();
|
byte[] currentOutputs = binaryProtocolState.getCurrentOutputs();
|
||||||
if (currentOutputs != null)
|
if (currentOutputs != null)
|
||||||
System.arraycopy(currentOutputs, 1 + offset, response, 1, count);
|
System.arraycopy(currentOutputs, offset, response, 1, count);
|
||||||
stream.sendPacket(response);
|
stream.sendPacket(response);
|
||||||
} else if (command == Fields.TS_GET_TEXT) {
|
} else if (command == Fields.TS_GET_TEXT) {
|
||||||
// todo: relay command
|
// todo: relay command
|
||||||
|
|
Loading…
Reference in New Issue