aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-16 07:46:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-16 07:46:09 +1300
commit9d9d259927bce0a9f046c79f88eceb0085ccb489 (patch)
treed585879d769504ebfbaca50b4585cb961e0f7b7a /src/org
parent2bd45c3cad1d619177649c7e66e4141b99e12228 (diff)
downloadtraccar-server-9d9d259927bce0a9f046c79f88eceb0085ccb489.tar.gz
traccar-server-9d9d259927bce0a9f046c79f88eceb0085ccb489.tar.bz2
traccar-server-9d9d259927bce0a9f046c79f88eceb0085ccb489.zip
Revert H02 ignition once again
Diffstat (limited to 'src/org')
-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 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);
}