aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/SolarPoweredProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/SolarPoweredProtocolDecoder.java b/src/main/java/org/traccar/protocol/SolarPoweredProtocolDecoder.java
index a1ce7c649..9d5dc072f 100644
--- a/src/main/java/org/traccar/protocol/SolarPoweredProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SolarPoweredProtocolDecoder.java
@@ -102,7 +102,7 @@ public class SolarPoweredProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_ALARM, Position.ALARM_FALL_DOWN);
}
if (BitUtil.check(alarmMask, 4)) {
- position.set(Position.ALARM_MOVEMENT, BitUtil.check(alarm, 4));
+ position.set(Position.KEY_MOTION, BitUtil.check(alarm, 4));
}
break;
case 0x83: