diff options
-rw-r--r-- | src/org/traccar/protocol/RuptelaProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/RuptelaProtocolDecoder.java b/src/org/traccar/protocol/RuptelaProtocolDecoder.java index 6036397f6..8752d30c0 100644 --- a/src/org/traccar/protocol/RuptelaProtocolDecoder.java +++ b/src/org/traccar/protocol/RuptelaProtocolDecoder.java @@ -95,7 +95,7 @@ public class RuptelaProtocolDecoder extends BaseProtocolDecoder { position.set("di" + (id - 1), readValue(buf, length, false)); break; case 5: - position.set(Position.KEY_IGNITION, readValue(buf, length, false)); + position.set(Position.KEY_IGNITION, readValue(buf, length, false) == 1); break; case 74: position.set(Position.PREFIX_TEMP + 3, readValue(buf, length, true) * 0.1); |