diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/DmtProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java index b36093189..26debd998 100644 --- a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java @@ -188,7 +188,7 @@ public class DmtProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_ALARM, Position.ALARM_LOW_BATTERY); } else if (!BitUtil.check(input, 2)) { position.set(Position.KEY_ALARM, Position.ALARM_LOW_POWER); - } if (BitUtil.check(input, 6)) { + } else if (BitUtil.check(input, 6)) { position.set(Position.KEY_ALARM, Position.ALARM_TAMPERING); } |