aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny S Maksimov <me@vragam.net>2019-01-13 10:27:31 +0300
committerEvgeny S Maksimov <me@vragam.net>2019-01-13 10:27:31 +0300
commit0786211431b2c79e0982a073e417a66d15f14ef4 (patch)
tree90478e7be35c294601b33a03f9f5f89489a330cc
parent51165c1e6bb4ccc5295ae095816209d3b9e3a209 (diff)
downloadtrackermap-server-0786211431b2c79e0982a073e417a66d15f14ef4.tar.gz
trackermap-server-0786211431b2c79e0982a073e417a66d15f14ef4.tar.bz2
trackermap-server-0786211431b2c79e0982a073e417a66d15f14ef4.zip
Fix copy/paste errors
-rw-r--r--src/org/traccar/protocol/NavisProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/NavisProtocolDecoder.java b/src/org/traccar/protocol/NavisProtocolDecoder.java
index 54c6cba11..c91ad3f52 100644
--- a/src/org/traccar/protocol/NavisProtocolDecoder.java
+++ b/src/org/traccar/protocol/NavisProtocolDecoder.java
@@ -176,8 +176,8 @@ public class NavisProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.PREFIX_TEMP + 2, buf.readByte());
position.set(Position.PREFIX_TEMP + 3, buf.readByte());
position.set(Position.PREFIX_TEMP + 4, buf.readByte());
- position.set(Position.KEY_AXLE_WEIGHT + 3, buf.readIntLE());
- position.set(Position.KEY_RPM + 3, buf.readUnsignedShortLE());
+ position.set(Position.KEY_AXLE_WEIGHT, buf.readIntLE());
+ position.set(Position.KEY_RPM, buf.readUnsignedShortLE());
}
if (isFormat(format, F20, F50, F51, F52, F60)) {