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:38:58 +0100
committerGitHub <noreply@github.com>2022-01-26 21:38:58 +0100
commit4b43eee0a571ea9d62854cdeb0891166c103bb7d (patch)
tree3459c8f6735b6ef379001409df9b91f0291ffa81
parent955d19a1d4937f1650cbcc94731701b4637721f4 (diff)
downloadtrackermap-server-4b43eee0a571ea9d62854cdeb0891166c103bb7d.tar.gz
trackermap-server-4b43eee0a571ea9d62854cdeb0891166c103bb7d.tar.bz2
trackermap-server-4b43eee0a571ea9d62854cdeb0891166c103bb7d.zip
Update WatchProtocolDecoder.java
-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 527a21e7c..557832f05 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; // some 2G devices raise this alarm when the device is unplugged from its charger
+ return Position.ALARM_POWER_CUT; // raised by some 2G devices when unplugged from their charger
} else if (BitUtil.check(status, 16)) {
return Position.ALARM_SOS;
} else if (BitUtil.check(status, 17)) {