aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-05-19 08:59:18 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-05-19 08:59:18 -0700
commit9f6353e286f9aa50c4d23e212bdc0e2ecd799188 (patch)
treec0356bd89290f88e9db14ac6bdd392cfebb87048 /src/main/java
parent732ddd925fe734b7fe9179b71c0cf047b56ad244 (diff)
downloadtrackermap-server-9f6353e286f9aa50c4d23e212bdc0e2ecd799188.tar.gz
trackermap-server-9f6353e286f9aa50c4d23e212bdc0e2ecd799188.tar.bz2
trackermap-server-9f6353e286f9aa50c4d23e212bdc0e2ecd799188.zip
Add missing else
Diffstat (limited to 'src/main/java')
-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);
}