aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-24 22:37:59 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-24 22:37:59 -0700
commitfd2d0d9795f12776ba7286ba7a4ff346b335be2f (patch)
treef3c13cd35da2245e4fb0b2258defd15eb5581af5 /src
parent49a5ac1259f299615e56d5d8e733234a4d7364bd (diff)
downloadtraccar-server-fd2d0d9795f12776ba7286ba7a4ff346b335be2f.tar.gz
traccar-server-fd2d0d9795f12776ba7286ba7a4ff346b335be2f.tar.bz2
traccar-server-fd2d0d9795f12776ba7286ba7a4ff346b335be2f.zip
Fix tests
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/MxtProtocolDecoder.java2
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;
}