aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java b/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java
index b1deded3b..1f6a4d2b4 100644
--- a/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java
@@ -262,7 +262,7 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder {
buf.skipBytes(4); // reserved
position.setTime(new Date(buf.readUnsignedIntLE() * 1000));
- buf.skipBytes(3); // coordinates header
+ buf.skipBytes(2); // coordinates header
int flags = buf.readUnsignedByte();
double latitude = buf.readUnsignedByte() + buf.readUnsignedShortLE() / 60000.0;
double longitude = buf.readUnsignedByte() + buf.readUnsignedShortLE() / 60000.0;