aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Mta6ProtocolDecoder.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-03-07 19:19:07 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-07 19:19:07 -0500
commitf94613b97cf80af64154ae571920a273771fa1d3 (patch)
tree06d413a2378724044f5b8660a9086595fe030ddf /src/org/traccar/protocol/Mta6ProtocolDecoder.java
parentfa6706cab7b7f4448e9a0cc67bd5d1a880497c02 (diff)
downloadtrackermap-server-f94613b97cf80af64154ae571920a273771fa1d3.tar.gz
trackermap-server-f94613b97cf80af64154ae571920a273771fa1d3.tar.bz2
trackermap-server-f94613b97cf80af64154ae571920a273771fa1d3.zip
Removed unnecessary comments;
Diffstat (limited to 'src/org/traccar/protocol/Mta6ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Mta6ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Mta6ProtocolDecoder.java b/src/org/traccar/protocol/Mta6ProtocolDecoder.java
index da25f9c0d..0fda94eef 100644
--- a/src/org/traccar/protocol/Mta6ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Mta6ProtocolDecoder.java
@@ -222,7 +222,7 @@ public class Mta6ProtocolDecoder extends BaseProtocolDecoder {
position.setLongitude(new FloatReader().readFloat(buf) / Math.PI * 180);
position.setTime(new TimeReader().readTime(buf));
- position.set(Position.KEY_STATUS, buf.readUnsignedByte()); // status
+ position.set(Position.KEY_STATUS, buf.readUnsignedByte());
if (BitUtil.check(flags, 0)) {
position.setAltitude(buf.readUnsignedShort());
@@ -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(Position.KEY_ODOMETER_SERVICE, buf.readUnsignedShort()); // service odometer
+ position.set(Position.KEY_ODOMETER_SERVICE, buf.readUnsignedShort());
}
if (BitUtil.check(flags, 3)) {