aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-09 11:44:50 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-09 11:44:50 +1300
commit0d400de04bd9b4cec101e2bcf58d5736cce91901 (patch)
treeb65a8537ef9a670ef3a7cbcc43a5660b73320dd7
parent81a7fba08c37fd8032c747ada5d9a77340298647 (diff)
downloadtraccar-server-0d400de04bd9b4cec101e2bcf58d5736cce91901.tar.gz
traccar-server-0d400de04bd9b4cec101e2bcf58d5736cce91901.tar.bz2
traccar-server-0d400de04bd9b4cec101e2bcf58d5736cce91901.zip
Use max frame length parameter
-rw-r--r--src/org/traccar/protocol/Stl060FrameDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Stl060FrameDecoder.java b/src/org/traccar/protocol/Stl060FrameDecoder.java
index 0c271b243..bdb33b01b 100644
--- a/src/org/traccar/protocol/Stl060FrameDecoder.java
+++ b/src/org/traccar/protocol/Stl060FrameDecoder.java
@@ -26,7 +26,7 @@ import org.traccar.helper.ChannelBufferTools;
public class Stl060FrameDecoder extends CharacterDelimiterFrameDecoder {
public Stl060FrameDecoder(int maxFrameLength) {
- super('#');
+ super(maxFrameLength, '#');
}
@Override