diff options
author | Anton Tananaev <anton@traccar.org> | 2022-11-22 07:30:09 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-11-22 07:30:09 -0800 |
commit | 63cab28f909343476ffa39983da533e169f02838 (patch) | |
tree | b4db55cb69f1c929bbd63fcc0d0a60afaea0b3cf /src/main/java/org/traccar | |
parent | 4c973263a82d7c3515a8054a24e3396dfcab0e93 (diff) | |
download | trackermap-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.java | 4 |
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; |