diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-16 07:46:09 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-16 07:46:09 +1300 |
commit | 9d9d259927bce0a9f046c79f88eceb0085ccb489 (patch) | |
tree | d585879d769504ebfbaca50b4585cb961e0f7b7a /src/org/traccar/protocol | |
parent | 2bd45c3cad1d619177649c7e66e4141b99e12228 (diff) | |
download | trackermap-server-9d9d259927bce0a9f046c79f88eceb0085ccb489.tar.gz trackermap-server-9d9d259927bce0a9f046c79f88eceb0085ccb489.tar.bz2 trackermap-server-9d9d259927bce0a9f046c79f88eceb0085ccb489.zip |
Revert H02 ignition once again
Diffstat (limited to 'src/org/traccar/protocol')
-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 d2d274eeb..a717ddc4d 100644 --- a/src/org/traccar/protocol/H02ProtocolDecoder.java +++ b/src/org/traccar/protocol/H02ProtocolDecoder.java @@ -75,7 +75,7 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_ALARM, Position.ALARM_OVERSPEED); } - position.set(Position.KEY_IGNITION, !BitUtil.check(status, 10)); + position.set(Position.KEY_IGNITION, BitUtil.check(status, 10)); position.set(Position.KEY_STATUS, status); } |