diff options
-rw-r--r-- | src/main/java/org/traccar/protocol/DmtProtocolDecoder.java | 4 |
1 files 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) { |