aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/traccar/protocol/NetProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/NetProtocolDecoder.java b/src/main/java/org/traccar/protocol/NetProtocolDecoder.java
index 61cb29b6b..c71a792a2 100644
--- a/src/main/java/org/traccar/protocol/NetProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NetProtocolDecoder.java
@@ -81,7 +81,7 @@ public class NetProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_STATUS, parser.nextHexLong());
position.setSpeed(parser.nextHexInt() * 0.01);
- position.set(Position.KEY_ODOMETER, parser.nextHexInt());
+ position.set(Position.KEY_ODOMETER, parser.nextHexInt() * 1852.0 / 16);
position.setCourse(parser.nextHexInt());
parser.nextHexInt(); // alarm