diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-11 13:43:27 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-11 13:43:27 +0500 |
commit | f934efecd57261a88efa122f7db5defc6adc43f1 (patch) | |
tree | 9ddd853139cfd4454f18b041395c94913fa596dc /src | |
parent | 21f26c423dd6d52588c57e41fd0c02ae2fda5d6a (diff) | |
download | traccar-server-f934efecd57261a88efa122f7db5defc6adc43f1.tar.gz traccar-server-f934efecd57261a88efa122f7db5defc6adc43f1.tar.bz2 traccar-server-f934efecd57261a88efa122f7db5defc6adc43f1.zip |
Reverted VisiontekProtocolDecoder, it is need deep fix
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/VisiontekProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/VisiontekProtocolDecoder.java b/src/org/traccar/protocol/VisiontekProtocolDecoder.java index 47a8b20cf..bfd4a78fa 100644 --- a/src/org/traccar/protocol/VisiontekProtocolDecoder.java +++ b/src/org/traccar/protocol/VisiontekProtocolDecoder.java @@ -109,7 +109,7 @@ public class VisiontekProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_SATELLITES, parser.next()); position.set(Position.KEY_ODOMETER, parser.next()); - position.set(Position.KEY_IGNITION, parser.next().equals("1")); + position.set(Position.KEY_IGNITION, parser.next()); position.set(Position.PREFIX_IO + 1, parser.next()); position.set(Position.PREFIX_IO + 2, parser.next()); position.set("immobilizer", parser.next()); |