diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-09 22:35:21 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-09 22:35:21 +1300 |
commit | 16f2679a18d00270bd733292a11c67b38458bf7b (patch) | |
tree | 19aad3fc102bb07752c3e9bc4cfab415fe1ae70e /src | |
parent | 30cf4d484307ad89ce538bae36c47c91eb430536 (diff) | |
download | trackermap-server-16f2679a18d00270bd733292a11c67b38458bf7b.tar.gz trackermap-server-16f2679a18d00270bd733292a11c67b38458bf7b.tar.bz2 trackermap-server-16f2679a18d00270bd733292a11c67b38458bf7b.zip |
Fix small issue in Tytan decoder
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/TytanProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/org/traccar/protocol/TytanProtocolDecoder.java index f31e8aead..be9a9afed 100644 --- a/src/org/traccar/protocol/TytanProtocolDecoder.java +++ b/src/org/traccar/protocol/TytanProtocolDecoder.java @@ -156,7 +156,7 @@ public class TytanProtocolDecoder extends BaseProtocolDecoder { } } for (int i : temps) { - position.set(Event.PREFIX_TEMP + n, buf.readUnsignedByte()); + position.set(Event.PREFIX_TEMP + i, buf.readUnsignedByte()); } break; case 28: |