diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-05 19:47:47 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-05 19:47:47 -0800 |
commit | d69662c28f031e0579211de4d8535c028324acb0 (patch) | |
tree | cc6ce64b16a16706c04839b15e6263f6454f6787 /src/main/java | |
parent | ed02f30d6c770eb8ee47062ac007007450702d26 (diff) | |
download | trackermap-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.java | 2 |
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()); |