diff options
Diffstat (limited to 'src/org')
-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 bdfe19dfc..34b297a83 100644 --- a/src/org/traccar/protocol/TytanProtocolDecoder.java +++ b/src/org/traccar/protocol/TytanProtocolDecoder.java @@ -112,7 +112,7 @@ public class TytanProtocolDecoder extends BaseProtocolDecoder { length += buf.readUnsignedByte(); } - switch (buf.readUnsignedByte()) { + switch (type) { case 2: position.set(Event.KEY_ODOMETER, buf.readUnsignedMedium()); break; |