diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-24 22:37:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-24 22:37:59 -0700 |
commit | fd2d0d9795f12776ba7286ba7a4ff346b335be2f (patch) | |
tree | f3c13cd35da2245e4fb0b2258defd15eb5581af5 | |
parent | 49a5ac1259f299615e56d5d8e733234a4d7364bd (diff) | |
download | traccar-server-fd2d0d9795f12776ba7286ba7a4ff346b335be2f.tar.gz traccar-server-fd2d0d9795f12776ba7286ba7a4ff346b335be2f.tar.bz2 traccar-server-fd2d0d9795f12776ba7286ba7a4ff346b335be2f.zip |
Fix tests
-rw-r--r-- | src/main/java/org/traccar/protocol/MxtProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/MxtProtocolDecoder.java b/src/main/java/org/traccar/protocol/MxtProtocolDecoder.java index c36be9cbf..379b610e1 100644 --- a/src/main/java/org/traccar/protocol/MxtProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/MxtProtocolDecoder.java @@ -97,7 +97,7 @@ public class MxtProtocolDecoder extends BaseProtocolDecoder { long date = buf.readUnsignedIntLE(); long days = BitUtil.from(date, 6 + 6 + 5); - if (days < 7 * 1024) { + if (days < 7 * 780) { days += 7 * 1024; } |