From 0786211431b2c79e0982a073e417a66d15f14ef4 Mon Sep 17 00:00:00 2001 From: Evgeny S Maksimov Date: Sun, 13 Jan 2019 10:27:31 +0300 Subject: Fix copy/paste errors --- src/org/traccar/protocol/NavisProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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)) { -- cgit v1.2.3