aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/TytanProtocolDecoder.java2
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: