aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/UlbotechProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/UlbotechProtocolDecoder.java b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
index 3dc5b36cb..bf0a9cc76 100644
--- a/src/org/traccar/protocol/UlbotechProtocolDecoder.java
+++ b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
@@ -151,7 +151,7 @@ public class UlbotechProtocolDecoder extends BaseProtocolDecoder {
case DATA_STATUS:
int status = buf.readUnsignedShort();
- position.set(Event.KEY_IGNITION, BitUtil.check(status, 6));
+ position.set(Event.KEY_IGNITION, BitUtil.check(status, 9));
position.set(Event.KEY_STATUS, status);
position.set(Event.KEY_ALARM, buf.readUnsignedShort());
break;