From 1c4aba3129d01a2dc982d1a6f0bed0a05f3f0a79 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 2 Oct 2015 09:29:17 +1300 Subject: Mark Flextrack positions as valid --- src/org/traccar/protocol/FlextrackProtocolDecoder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/traccar/protocol/FlextrackProtocolDecoder.java b/src/org/traccar/protocol/FlextrackProtocolDecoder.java index 12ed78bee..9723eda02 100644 --- a/src/org/traccar/protocol/FlextrackProtocolDecoder.java +++ b/src/org/traccar/protocol/FlextrackProtocolDecoder.java @@ -143,6 +143,7 @@ public class FlextrackProtocolDecoder extends BaseProtocolDecoder { } position.setLongitude(lon); + position.setValid(true); position.setSpeed(UnitsConverter.knotsFromKph(Integer.parseInt(parser.group(index++)))); position.setCourse(Integer.parseInt(parser.group(index++))); -- cgit v1.2.3