aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/MiniFinderProtocolDecoder.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/MiniFinderProtocolDecoder.java b/src/org/traccar/protocol/MiniFinderProtocolDecoder.java
index 3eb559cc4..348476c6b 100644
--- a/src/org/traccar/protocol/MiniFinderProtocolDecoder.java
+++ b/src/org/traccar/protocol/MiniFinderProtocolDecoder.java
@@ -114,10 +114,7 @@ public class MiniFinderProtocolDecoder extends BaseProtocolDecoder {
if (BitUtil.check(flags, 12)) {
position.set(Position.KEY_ALARM, Position.ALARM_LOW_BATTERY);
}
- if (BitUtil.check(flags, 14)) {
- position.set(Position.KEY_ALARM, Position.ALARM_MOTION);
- }
- if (BitUtil.check(flags, 15)) {
+ if (BitUtil.check(flags, 15) || BitUtil.check(flags, 14)) {
position.set(Position.KEY_ALARM, Position.ALARM_MOVEMENT);
}