aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/CarTrackProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/CarTrackProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/CarTrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CarTrackProtocolDecoder.java b/src/org/traccar/protocol/CarTrackProtocolDecoder.java
index 06f1e5342..223023a31 100644
--- a/src/org/traccar/protocol/CarTrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/CarTrackProtocolDecoder.java
@@ -124,7 +124,7 @@ public class CarTrackProtocolDecoder extends BaseProtocolDecoder {
position.setTime(time.getTime());
// State
- position.set("io", parser.group(index++));
+ position.set(Event.PREFIX_IO + 1, parser.group(index++));
// Odometer
String odometer = parser.group(index++);