aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/DmtProtocolDecoder.java2
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);
}