diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-01-07 08:52:10 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-01-07 08:52:10 -0800 |
commit | 73228519ae738f20e1d6d601007f0afc4a9ed3ac (patch) | |
tree | 2ac4c4f7bc5d93486af67e4afe7cd78a907c66a3 /src/main/java/org | |
parent | d0a7032d6e391fc2148d8d91baf1543ac403af96 (diff) | |
download | traccar-server-73228519ae738f20e1d6d601007f0afc4a9ed3ac.tar.gz traccar-server-73228519ae738f20e1d6d601007f0afc4a9ed3ac.tar.bz2 traccar-server-73228519ae738f20e1d6d601007f0afc4a9ed3ac.zip |
Ignore no GPS data
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/PstProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/PstProtocolDecoder.java b/src/main/java/org/traccar/protocol/PstProtocolDecoder.java index 40caa9727..a93dd251f 100644 --- a/src/main/java/org/traccar/protocol/PstProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/PstProtocolDecoder.java @@ -102,7 +102,7 @@ public class PstProtocolDecoder extends BaseProtocolDecoder { } } - return position; + return position.getFixTime() != null ? position : null; } return null; |