aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-09-15 13:48:39 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-09-15 13:48:39 -0700
commit1fe86dd41b3d20f2023844d56712b8d225160024 (patch)
treee4c03568f5381fc976a835c8d17a8fe515d3dd3a /src/main
parentc4371c759d283bc134e77e79f690e3369dfaf3cc (diff)
downloadtraccar-server-1fe86dd41b3d20f2023844d56712b8d225160024.tar.gz
traccar-server-1fe86dd41b3d20f2023844d56712b8d225160024.tar.bz2
traccar-server-1fe86dd41b3d20f2023844d56712b8d225160024.zip
Fix analogue data decoding
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/DmtProtocolDecoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
index c04e90f1d..fabcae002 100644
--- a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2017 - 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2017 - 2019 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -208,6 +208,7 @@ public class DmtProtocolDecoder extends BaseProtocolDecoder {
position.set("solarPower", buf.readUnsignedShortLE() * 0.001);
break;
default:
+ buf.readUnsignedShortLE(); // other
break;
}
}