diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-24 09:59:57 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-24 09:59:57 +1200 |
commit | 5832b1b982049de7242f5378b08b3dd24477eeee (patch) | |
tree | 472acb9af0d60f1ab259f7e0274ddd5b002865cd /src/org/traccar/protocol | |
parent | 2aa78ad4d0a424b3d4479bc29ff195375bdc821a (diff) | |
download | trackermap-server-5832b1b982049de7242f5378b08b3dd24477eeee.tar.gz trackermap-server-5832b1b982049de7242f5378b08b3dd24477eeee.tar.bz2 trackermap-server-5832b1b982049de7242f5378b08b3dd24477eeee.zip |
Set MXT positions to valid
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/MxtProtocolDecoder.java | 1 |
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); |