aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-05-17 10:48:01 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-05-17 10:48:01 -0700
commit018e4079b32b78c9801888e077bbc009214351d5 (patch)
tree5cc3f49783ecd23428b6f1f7a966177e721094b3 /src
parent6623c725111f2439cb80861a006b887a2df291fa (diff)
downloadtrackermap-server-018e4079b32b78c9801888e077bbc009214351d5.tar.gz
trackermap-server-018e4079b32b78c9801888e077bbc009214351d5.tar.bz2
trackermap-server-018e4079b32b78c9801888e077bbc009214351d5.zip
Fix position key
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: