diff options
Diffstat (limited to 'src/org/traccar/protocol/Gt02ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Gt02ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gt02ProtocolDecoder.java b/src/org/traccar/protocol/Gt02ProtocolDecoder.java index 857330e23..5d2c9eb06 100644 --- a/src/org/traccar/protocol/Gt02ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gt02ProtocolDecoder.java @@ -107,10 +107,10 @@ public class Gt02ProtocolDecoder extends BaseProtocolDecoder { double longitude = buf.readUnsignedInt() / (60.0 * 30000.0); // Speed - position.setSpeed((double) buf.readUnsignedByte()); + position.setSpeed(buf.readUnsignedByte()); // Course - position.setCourse((double) buf.readUnsignedShort()); + position.setCourse(buf.readUnsignedShort()); buf.skipBytes(3); // reserved |