diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-04 11:27:23 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-04 11:27:23 +1200 |
commit | 57aec3786c265baac375720e5c5389035f12591b (patch) | |
tree | 18f4afc99aad4b5af2b6c2526cbde635e8cddb18 /src/org/traccar/protocol/AtrackProtocolDecoder.java | |
parent | 93feb8a5484fd6c4c3da2032d4c843b3194b5ff7 (diff) | |
download | trackermap-server-57aec3786c265baac375720e5c5389035f12591b.tar.gz trackermap-server-57aec3786c265baac375720e5c5389035f12591b.tar.bz2 trackermap-server-57aec3786c265baac375720e5c5389035f12591b.zip |
More other data cleanup
Diffstat (limited to 'src/org/traccar/protocol/AtrackProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/AtrackProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AtrackProtocolDecoder.java b/src/org/traccar/protocol/AtrackProtocolDecoder.java index b9cc60de4..d057e67c0 100644 --- a/src/org/traccar/protocol/AtrackProtocolDecoder.java +++ b/src/org/traccar/protocol/AtrackProtocolDecoder.java @@ -119,7 +119,7 @@ public class AtrackProtocolDecoder extends BaseProtocolDecoder { position.setCourse(buf.readUnsignedShort()); // Report type - position.set("type", buf.readUnsignedByte()); + position.set(Event.KEY_TYPE, buf.readUnsignedByte()); // Odometer position.set(Event.KEY_ODOMETER, buf.readUnsignedInt() * 0.1); |