From 018e4079b32b78c9801888e077bbc009214351d5 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 17 May 2020 10:48:01 -0700 Subject: Fix position key --- src/main/java/org/traccar/protocol/SolarPoweredProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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: -- cgit v1.2.3