aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorl-e-o-n-c-e <38976766+l-e-o-n-c-e@users.noreply.github.com>2022-01-26 21:45:44 +0100
committerGitHub <noreply@github.com>2022-01-26 21:45:44 +0100
commitb77326b34401d8df3674d4de1e3efd44dde7081b (patch)
tree8d28d8121cedea09c4fc2f4b918e38e21d5dd95b
parent4b43eee0a571ea9d62854cdeb0891166c103bb7d (diff)
downloadtrackermap-server-b77326b34401d8df3674d4de1e3efd44dde7081b.tar.gz
trackermap-server-b77326b34401d8df3674d4de1e3efd44dde7081b.tar.bz2
trackermap-server-b77326b34401d8df3674d4de1e3efd44dde7081b.zip
Update WatchProtocolDecoder.java
Removed the comment as requested by Anton (but I found it useful since the status "POWER_CUT"I used could be confusing imo)
-rw-r--r--src/main/java/org/traccar/protocol/WatchProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java b/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java
index 557832f05..cf58b0fed 100644
--- a/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java
@@ -90,7 +90,7 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder {
} else if (BitUtil.check(status, 2)) {
return Position.ALARM_GEOFENCE_ENTER;
} else if (BitUtil.check(status, 14)) {
- return Position.ALARM_POWER_CUT; // raised by some 2G devices when unplugged from their charger
+ return Position.ALARM_POWER_CUT;
} else if (BitUtil.check(status, 16)) {
return Position.ALARM_SOS;
} else if (BitUtil.check(status, 17)) {