From 0d400de04bd9b4cec101e2bcf58d5736cce91901 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 9 Oct 2015 11:44:50 +1300 Subject: Use max frame length parameter --- src/org/traccar/protocol/Stl060FrameDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3