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/MegastekProtocolDecoder.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/MegastekProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MegastekProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MegastekProtocolDecoder.java b/src/org/traccar/protocol/MegastekProtocolDecoder.java index 054573c33..74ff67be7 100644 --- a/src/org/traccar/protocol/MegastekProtocolDecoder.java +++ b/src/org/traccar/protocol/MegastekProtocolDecoder.java @@ -244,7 +244,7 @@ public class MegastekProtocolDecoder extends BaseProtocolDecoder { // Battery position.set(Event.KEY_BATTERY, Double.valueOf(parser.group(index++))); - position.set("flags", parser.group(index++)); + position.set(Event.KEY_FLAGS, parser.group(index++)); position.set(Event.KEY_INPUT, parser.group(index++)); position.set(Event.KEY_OUTPUT, parser.group(index++)); position.set(Event.PREFIX_ADC + 1, parser.group(index++)); |