aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/MegastekProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/MegastekProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/MegastekProtocolDecoder.java2
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++));