diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-25 23:12:41 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-25 23:12:41 +1200 |
commit | 8c4eb2eff9da9bf0538e413444c1e6dae981b99e (patch) | |
tree | 8cf1dbd7133853551f11aa278f8ed526b566bd9c /src | |
parent | cd0de70745972a3a400cf3f15098c267601b905c (diff) | |
download | trackermap-server-8c4eb2eff9da9bf0538e413444c1e6dae981b99e.tar.gz trackermap-server-8c4eb2eff9da9bf0538e413444c1e6dae981b99e.tar.bz2 trackermap-server-8c4eb2eff9da9bf0538e413444c1e6dae981b99e.zip |
Fix H02 ignition decoding
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/H02ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/H02ProtocolDecoder.java b/src/org/traccar/protocol/H02ProtocolDecoder.java index 83ed4b099..bb18a68e2 100644 --- a/src/org/traccar/protocol/H02ProtocolDecoder.java +++ b/src/org/traccar/protocol/H02ProtocolDecoder.java @@ -80,7 +80,7 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder { } } - position.set(Position.KEY_IGNITION, !BitUtil.check(status, 10)); + position.set(Position.KEY_IGNITION, BitUtil.check(status, 10)); position.set(Position.KEY_STATUS, status); } |