aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-24 09:59:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-24 09:59:57 +1200
commit5832b1b982049de7242f5378b08b3dd24477eeee (patch)
tree472acb9af0d60f1ab259f7e0274ddd5b002865cd /src
parent2aa78ad4d0a424b3d4479bc29ff195375bdc821a (diff)
downloadtraccar-server-5832b1b982049de7242f5378b08b3dd24477eeee.tar.gz
traccar-server-5832b1b982049de7242f5378b08b3dd24477eeee.tar.bz2
traccar-server-5832b1b982049de7242f5378b08b3dd24477eeee.zip
Set MXT positions to valid
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MxtProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
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);