diff options
author | gustavofcalmeida <gustavofarias@gmail.com> | 2017-02-07 23:11:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-07 23:11:55 -0300 |
commit | da4aa93919f113c5b9ff9c417dc8db72efea6fd1 (patch) | |
tree | 01aba5ef10912361a8331fa0fd00e692dcce2c8a /src/org/traccar | |
parent | 305528411520755e4b68318eab1e2feecaf96acd (diff) | |
download | trackermap-server-da4aa93919f113c5b9ff9c417dc8db72efea6fd1.tar.gz trackermap-server-da4aa93919f113c5b9ff9c417dc8db72efea6fd1.tar.bz2 trackermap-server-da4aa93919f113c5b9ff9c417dc8db72efea6fd1.zip |
Removed unnecessary parameters
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/MxtProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MxtProtocolDecoder.java b/src/org/traccar/protocol/MxtProtocolDecoder.java index a86fd0204..eaeeacc97 100644 --- a/src/org/traccar/protocol/MxtProtocolDecoder.java +++ b/src/org/traccar/protocol/MxtProtocolDecoder.java @@ -47,7 +47,7 @@ public class MxtProtocolDecoder extends BaseProtocolDecoder { response.writeInt((int) id); response.writeShort(crc); response.writeShort(Checksum.crc16( - Checksum.CRC16_XMODEM, response.toByteBuffer(0, response.readableBytes()))); + Checksum.CRC16_XMODEM, response.toByteBuffer())); ChannelBuffer encoded = ChannelBuffers.dynamicBuffer(); encoded.writeByte(0x01); // header |