aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/MtxProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/MtxProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/MtxProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/MtxProtocolDecoder.java b/src/org/traccar/protocol/MtxProtocolDecoder.java
index 1d32e83f6..0151e9a8c 100644
--- a/src/org/traccar/protocol/MtxProtocolDecoder.java
+++ b/src/org/traccar/protocol/MtxProtocolDecoder.java
@@ -103,8 +103,8 @@ public class MtxProtocolDecoder extends BaseProtocolDecoder {
position.set(Event.KEY_ODOMETER, Double.valueOf(parser.group(index++)));
position.set(Event.KEY_INPUT, parser.group(index++));
position.set(Event.KEY_OUTPUT, parser.group(index++));
- position.set("adc1", parser.group(index++));
- position.set("adc2", parser.group(index++));
+ position.set(Event.PREFIX_ADC + 1, parser.group(index++));
+ position.set(Event.PREFIX_ADC + 2, parser.group(index++));
return position;
}