From 73228519ae738f20e1d6d601007f0afc4a9ed3ac Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 7 Jan 2020 08:52:10 -0800 Subject: Ignore no GPS data --- src/main/java/org/traccar/protocol/PstProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/traccar/protocol') 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; -- cgit v1.2.3