aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/FlextrackProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
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++)));