aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-11-22 07:30:09 -0800
committerAnton Tananaev <anton@traccar.org>2022-11-22 07:30:09 -0800
commit63cab28f909343476ffa39983da533e169f02838 (patch)
treeb4db55cb69f1c929bbd63fcc0d0a60afaea0b3cf /src/main/java/org/traccar
parent4c973263a82d7c3515a8054a24e3396dfcab0e93 (diff)
downloadtrackermap-server-63cab28f909343476ffa39983da533e169f02838.tar.gz
trackermap-server-63cab28f909343476ffa39983da533e169f02838.tar.bz2
trackermap-server-63cab28f909343476ffa39983da533e169f02838.zip
Fix steps decoding
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
index f0ae28756..eb5e16de2 100644
--- a/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
@@ -266,8 +266,8 @@ public class Minifinder2ProtocolDecoder extends BaseProtocolDecoder {
hasLocation = true;
break;
case 0x30:
- buf.readUnsignedInt(); // timestamp
- position.set(Position.KEY_STEPS, buf.readUnsignedInt());
+ buf.readUnsignedIntLE(); // timestamp
+ position.set(Position.KEY_STEPS, buf.readUnsignedIntLE());
break;
case 0x31:
int i = 1;