diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-28 13:40:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-28 13:40:00 +1200 |
commit | 53494de4e41e1c4d4440c9afc0c4a9dfa6480558 (patch) | |
tree | 9dc441029fbcb5ea71b83c49ef89599012bcccc8 /src/org/traccar/protocol/GatorProtocolDecoder.java | |
parent | c1b6fb0e25020b845b059aef0adebeac7d90ed7c (diff) | |
download | trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.tar.gz trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.tar.bz2 trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.zip |
Remove optional fields
Diffstat (limited to 'src/org/traccar/protocol/GatorProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/GatorProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GatorProtocolDecoder.java b/src/org/traccar/protocol/GatorProtocolDecoder.java index 9fa50cc88..041e44588 100644 --- a/src/org/traccar/protocol/GatorProtocolDecoder.java +++ b/src/org/traccar/protocol/GatorProtocolDecoder.java @@ -126,7 +126,7 @@ public class GatorProtocolDecoder extends BaseProtocolDecoder { extendedInfo.set("oil", buf.readUnsignedShort() / 10.0); // Power - position.setPower(buf.readUnsignedByte() + buf.readUnsignedByte() / 100.0); + extendedInfo.set("power", buf.readUnsignedByte() + buf.readUnsignedByte() / 100.0); // Milage extendedInfo.set("milage", buf.readUnsignedInt()); |