diff options
Diffstat (limited to 'src/org/traccar/protocol/PiligrimProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/PiligrimProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/PiligrimProtocolDecoder.java b/src/org/traccar/protocol/PiligrimProtocolDecoder.java index 0190ec076..652b2cd37 100644 --- a/src/org/traccar/protocol/PiligrimProtocolDecoder.java +++ b/src/org/traccar/protocol/PiligrimProtocolDecoder.java @@ -141,7 +141,7 @@ public class PiligrimProtocolDecoder extends BaseProtocolDecoder { position.setValid(satellites >= 3); // Speed - position.setSpeed((double) buf.readUnsignedByte()); + position.setSpeed(buf.readUnsignedByte()); // Course double course = buf.readUnsignedByte() << 1; |