aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-08-27 06:51:05 -0700
committerAnton Tananaev <anton@traccar.org>2023-08-27 06:51:05 -0700
commit570e97d2f6880711e13674f188e2d3666b239ce9 (patch)
tree0d5dd7b61e6ac4eedb646cb7d508c7e86454e755 /src
parent44236d51aa70c2e07356f4d430aee8ddc04e74dd (diff)
downloadtrackermap-server-570e97d2f6880711e13674f188e2d3666b239ce9.tar.gz
trackermap-server-570e97d2f6880711e13674f188e2d3666b239ce9.tar.bz2
trackermap-server-570e97d2f6880711e13674f188e2d3666b239ce9.zip
Separate Starcom mileage value
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/StarcomProtocolDecoder.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/StarcomProtocolDecoder.java b/src/main/java/org/traccar/protocol/StarcomProtocolDecoder.java
index 36d66935c..325847b16 100644
--- a/src/main/java/org/traccar/protocol/StarcomProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/StarcomProtocolDecoder.java
@@ -75,7 +75,6 @@ public class StarcomProtocolDecoder extends BaseProtocolDecoder {
case "eventid":
position.set(Position.KEY_EVENT, Integer.parseInt(value));
break;
- case "mileage":
case "odometer":
position.set(Position.KEY_ODOMETER, (long) (Double.parseDouble(value) * 1000));
break;