aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/PiligrimProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/PiligrimProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/PiligrimProtocolDecoder.java2
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;