aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-01-05 19:47:47 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2022-01-05 19:47:47 -0800
commitd69662c28f031e0579211de4d8535c028324acb0 (patch)
treecc6ce64b16a16706c04839b15e6263f6454f6787 /src/main/java
parented02f30d6c770eb8ee47062ac007007450702d26 (diff)
downloadtrackermap-server-d69662c28f031e0579211de4d8535c028324acb0.tar.gz
trackermap-server-d69662c28f031e0579211de4d8535c028324acb0.tar.bz2
trackermap-server-d69662c28f031e0579211de4d8535c028324acb0.zip
Fix validity decoding
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/T800xProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java b/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java
index b15688df0..d554c2999 100644
--- a/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java
@@ -411,7 +411,7 @@ public class T800xProtocolDecoder extends BaseProtocolDecoder {
if (BitUtil.check(status, 6)) {
- position.setValid(!BitUtil.check(status, 7));
+ position.setValid(true);
position.setTime(readDate(buf));
position.setAltitude(buf.readFloatLE());
position.setLongitude(buf.readFloatLE());