From ff65e0c1b1fa8da85e61d8d66f3cdd416b68088c Mon Sep 17 00:00:00 2001 From: jfunston83 Date: Sat, 26 Oct 2019 07:32:35 -0600 Subject: Update DmtProtocolDecoder.java --- src/main/java/org/traccar/protocol/DmtProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java index 56d242612..1dfa6bcd7 100644 --- a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java @@ -187,7 +187,7 @@ public class DmtProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_INPUT, input); position.set(Position.KEY_OUTPUT, output); position.set(Position.KEY_STATUS, status); - + } else if (fieldId == 27) { position.set(Position.KEY_ODOMETER, buf.readUnsignedIntLE()); @@ -197,7 +197,7 @@ public class DmtProtocolDecoder extends BaseProtocolDecoder { } else if (fieldId == 26) { position.set(Position.KEY_ODOMETER_TRIP, buf.readUnsignedIntLE()); - position.set("TripRunTime", buf.readUnsignedIntLE()); + position.set("TripRunTime", buf.readUnsignedIntLE()); } else if (fieldId == 6) { -- cgit v1.2.3