aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/ObdDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-24 16:59:45 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-24 16:59:45 +1300
commitb6b565858154dd8293829ee7f4d982178d97a0a3 (patch)
tree047a3abb11a36cb77b6b90656f8ecad58150b530 /src/org/traccar/helper/ObdDecoder.java
parentdebe7092f6d48abc51852b808f45144863baebde (diff)
downloadtrackermap-server-b6b565858154dd8293829ee7f4d982178d97a0a3.tar.gz
trackermap-server-b6b565858154dd8293829ee7f4d982178d97a0a3.tar.bz2
trackermap-server-b6b565858154dd8293829ee7f4d982178d97a0a3.zip
Save OBD cleared distance value
Diffstat (limited to 'src/org/traccar/helper/ObdDecoder.java')
-rw-r--r--src/org/traccar/helper/ObdDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/ObdDecoder.java b/src/org/traccar/helper/ObdDecoder.java
index 35fa4dc07..f52216cae 100644
--- a/src/org/traccar/helper/ObdDecoder.java
+++ b/src/org/traccar/helper/ObdDecoder.java
@@ -69,7 +69,7 @@ public final class ObdDecoder {
case PID_FUEL_LEVEL:
return createEntry(Event.KEY_FUEL, intValue * 100 / 255);
case PID_DISTANCE_CLEARED:
- return createEntry(Event.KEY_FUEL, intValue);
+ return createEntry("cleared-distance", intValue);
default:
return null;
}