aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/NavisProtocolDecoder.java
diff options
context:
space:
mode:
authorEvgeny S Maksimov <me@vragam.net>2019-01-23 22:54:12 +0300
committerEvgeny S Maksimov <me@vragam.net>2019-01-23 22:54:12 +0300
commit3fdf7c71df04dc327b692360a8560a0d6c125ded (patch)
treeb163222b611ba7f5785ebea01bd43bcd0e68948f /src/org/traccar/protocol/NavisProtocolDecoder.java
parent7601d1625dbe3ffbbfeb0f81c224fc4bce8bbcdc (diff)
downloadtrackermap-server-3fdf7c71df04dc327b692360a8560a0d6c125ded.tar.gz
trackermap-server-3fdf7c71df04dc327b692360a8560a0d6c125ded.tar.bz2
trackermap-server-3fdf7c71df04dc327b692360a8560a0d6c125ded.zip
Minor fix
Diffstat (limited to 'src/org/traccar/protocol/NavisProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/NavisProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/NavisProtocolDecoder.java b/src/org/traccar/protocol/NavisProtocolDecoder.java
index 1e474556a..1b19539da 100644
--- a/src/org/traccar/protocol/NavisProtocolDecoder.java
+++ b/src/org/traccar/protocol/NavisProtocolDecoder.java
@@ -163,7 +163,7 @@ public class NavisProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.PREFIX_IN + 5, BitUtil.between(input, 4, 7));
position.set(Position.PREFIX_IN + 6, BitUtil.between(input, 7, 10));
position.set(Position.PREFIX_IN + 7, BitUtil.between(input, 10, 12));
- position.set(Position.PREFIX_IN + 5, BitUtil.between(input, 12, 14));
+ position.set(Position.PREFIX_IN + 8, BitUtil.between(input, 12, 14));
}
} else if (isFormat(format, F50, F51, F52, F60)) {
short input = buf.readUnsignedByte();