aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfunston83 <jfunston@gmail.com>2019-10-25 18:19:14 -0600
committerGitHub <noreply@github.com>2019-10-25 18:19:14 -0600
commit9726f97fe3d1f83351bf98b0a61361aa371c43be (patch)
tree387951dd77d944406dff96577e2e4bf70b92bc00
parentef30c922ab89a2b3b24011e66ee9ac6671e3507c (diff)
downloadtrackermap-server-9726f97fe3d1f83351bf98b0a61361aa371c43be.tar.gz
trackermap-server-9726f97fe3d1f83351bf98b0a61361aa371c43be.tar.bz2
trackermap-server-9726f97fe3d1f83351bf98b0a61361aa371c43be.zip
Support for Odometer and Run Hours
Support for a number of DMT devices that track odometer and run hours.
-rw-r--r--src/main/java/org/traccar/protocol/DmtProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
index 43af422db..79a80c0c8 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) {
int odometer = buf.readIntLE();
int runhours = buf.readIntLE();