aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/TeltonikaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
index d0b07ccb4..7561e35e1 100644
--- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -83,7 +83,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
position.setValid(satellites != 0);
- position.setSpeed((double) buf.readUnsignedShort());
+ position.setSpeed(buf.readUnsignedShort() * 0.539957);
extendedInfo.set("event", buf.readUnsignedByte());