From 5832b1b982049de7242f5378b08b3dd24477eeee Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 24 Jun 2015 09:59:57 +1200 Subject: Set MXT positions to valid --- src/org/traccar/protocol/MxtProtocolDecoder.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/org/traccar') diff --git a/src/org/traccar/protocol/MxtProtocolDecoder.java b/src/org/traccar/protocol/MxtProtocolDecoder.java index 07a5737c0..ca3013db6 100644 --- a/src/org/traccar/protocol/MxtProtocolDecoder.java +++ b/src/org/traccar/protocol/MxtProtocolDecoder.java @@ -85,6 +85,7 @@ public class MxtProtocolDecoder extends BaseProtocolDecoder { position.setTime(new Date(millis)); // Location + position.setValid(true); position.setLatitude(buf.readInt() / 1000000.0); position.setLongitude(buf.readInt() / 1000000.0); -- cgit v1.2.3