aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Xt7ProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/Xt7ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Xt7ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Xt7ProtocolDecoder.java b/src/org/traccar/protocol/Xt7ProtocolDecoder.java
index fab55c0c2..69e72aa70 100644
--- a/src/org/traccar/protocol/Xt7ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Xt7ProtocolDecoder.java
@@ -139,10 +139,10 @@ public class Xt7ProtocolDecoder extends BaseProtocolDecoder {
position.set(Event.KEY_POWER, Double.valueOf(parser.group(index++)));
// Flags
- position.set("flags", parser.group(index++));
+ position.set(Event.KEY_FLAGS, parser.group(index++));
// Sensors
- position.set("sensors", parser.group(index++));
+ position.set(Event.KEY_INPUT, parser.group(index++));
// Fuel
position.set(Event.KEY_FUEL, parser.group(index++));