From fd2d0d9795f12776ba7286ba7a4ff346b335be2f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 24 Sep 2021 22:37:59 -0700 Subject: Fix tests --- src/main/java/org/traccar/protocol/MxtProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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; } -- cgit v1.2.3