aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
index 55b3c900f..402262348 100644
--- a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
@@ -163,7 +163,7 @@ public class RuptelaProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_OBD_SPEED, readValue(buf, length, true));
break;
case 98:
- position.set("fuelRate", readValue(buf, length, true) * 100 / 255.0);
+ position.set(Position.KEY_FUEL_LEVEL, readValue(buf, length, true) * 100 / 255.0);
break;
case 100:
position.set(Position.KEY_FUEL_CONSUMPTION, readValue(buf, length, true) / 20.0);