aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-05-19 09:01:31 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-05-19 09:01:31 -0700
commit680caf2dae5d52f99d02958728da3f6cf9961a2d (patch)
tree911c1054986b520789e38bc0c783f47a1070db9e /src/main/java/org/traccar
parent9f6353e286f9aa50c4d23e212bdc0e2ecd799188 (diff)
downloadtrackermap-server-680caf2dae5d52f99d02958728da3f6cf9961a2d.tar.gz
trackermap-server-680caf2dae5d52f99d02958728da3f6cf9961a2d.tar.bz2
trackermap-server-680caf2dae5d52f99d02958728da3f6cf9961a2d.zip
Remove low power alarm
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/DmtProtocolDecoder.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
index 26debd998..75fdc3253 100644
--- a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
@@ -186,8 +186,6 @@ public class DmtProtocolDecoder extends BaseProtocolDecoder {
if (!BitUtil.check(input, 1)) {
position.set(Position.KEY_ALARM, Position.ALARM_LOW_BATTERY);
- } else if (!BitUtil.check(input, 2)) {
- position.set(Position.KEY_ALARM, Position.ALARM_LOW_POWER);
} else if (BitUtil.check(input, 6)) {
position.set(Position.KEY_ALARM, Position.ALARM_TAMPERING);
}