diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-05-19 08:59:18 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-05-19 08:59:18 -0700 |
commit | 9f6353e286f9aa50c4d23e212bdc0e2ecd799188 (patch) | |
tree | c0356bd89290f88e9db14ac6bdd392cfebb87048 /src/main/java/org | |
parent | 732ddd925fe734b7fe9179b71c0cf047b56ad244 (diff) | |
download | trackermap-server-9f6353e286f9aa50c4d23e212bdc0e2ecd799188.tar.gz trackermap-server-9f6353e286f9aa50c4d23e212bdc0e2ecd799188.tar.bz2 trackermap-server-9f6353e286f9aa50c4d23e212bdc0e2ecd799188.zip |
Add missing else
Diffstat (limited to 'src/main/java/org')
-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); } |