diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-25 21:26:17 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 16:27:02 -0500 |
commit | 149317fd5d53566f0902ff627ca3810f2130bbca (patch) | |
tree | bb5ee6e1343eac5d102746243af382eecf47f78e /src/org/traccar/protocol/Mta6ProtocolDecoder.java | |
parent | e46acd56d4db57dfd8010c320cf26bef1f8666c7 (diff) | |
download | trackermap-server-149317fd5d53566f0902ff627ca3810f2130bbca.tar.gz trackermap-server-149317fd5d53566f0902ff627ca3810f2130bbca.tar.bz2 trackermap-server-149317fd5d53566f0902ff627ca3810f2130bbca.zip |
Added Position.KEY_ODOMETER_SERVICE;
Diffstat (limited to 'src/org/traccar/protocol/Mta6ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Mta6ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Mta6ProtocolDecoder.java b/src/org/traccar/protocol/Mta6ProtocolDecoder.java index 504539c4c..35695e177 100644 --- a/src/org/traccar/protocol/Mta6ProtocolDecoder.java +++ b/src/org/traccar/protocol/Mta6ProtocolDecoder.java @@ -241,7 +241,7 @@ public class Mta6ProtocolDecoder extends BaseProtocolDecoder { position.set("engine", buf.readUnsignedShort() * 0.125); position.set("pedals", buf.readUnsignedByte()); position.set(Position.PREFIX_TEMP + 1, buf.readUnsignedByte() - 40); - position.set("serviceOdometer", buf.readUnsignedShort()); // service odometer + position.set(Position.KEY_ODOMETER_SERVICE, buf.readUnsignedShort()); // service odometer } if (BitUtil.check(flags, 3)) { |