aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-25 23:12:41 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-25 23:12:41 +1200
commit8c4eb2eff9da9bf0538e413444c1e6dae981b99e (patch)
tree8cf1dbd7133853551f11aa278f8ed526b566bd9c
parentcd0de70745972a3a400cf3f15098c267601b905c (diff)
downloadtrackermap-server-8c4eb2eff9da9bf0538e413444c1e6dae981b99e.tar.gz
trackermap-server-8c4eb2eff9da9bf0538e413444c1e6dae981b99e.tar.bz2
trackermap-server-8c4eb2eff9da9bf0538e413444c1e6dae981b99e.zip
Fix H02 ignition decoding
-rw-r--r--src/org/traccar/protocol/H02ProtocolDecoder.java2
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);
}