aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorjfunston83 <jfunston@gmail.com>2019-10-26 07:32:35 -0600
committerGitHub <noreply@github.com>2019-10-26 07:32:35 -0600
commitff65e0c1b1fa8da85e61d8d66f3cdd416b68088c (patch)
tree87d9b973e1c3a76897c5d6c6938396e717872dc1 /src/main/java/org/traccar
parent4ccd054983ecf633b5832738ee64199c6b6696ee (diff)
downloadtrackermap-server-ff65e0c1b1fa8da85e61d8d66f3cdd416b68088c.tar.gz
trackermap-server-ff65e0c1b1fa8da85e61d8d66f3cdd416b68088c.tar.bz2
trackermap-server-ff65e0c1b1fa8da85e61d8d66f3cdd416b68088c.zip
Update DmtProtocolDecoder.java
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/DmtProtocolDecoder.java4
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) {