aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
diff options
context:
space:
mode:
authorKieran Dodson <128472473+K-J-Dod24@users.noreply.github.com>2023-05-05 09:21:44 +0100
committerGitHub <noreply@github.com>2023-05-05 09:21:44 +0100
commit4178fd23d49be268633a4ba933af72a28685280c (patch)
treed48b6bf6e4c0266c35ba484e64f31f379bb1e0db /src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
parent442806299eb328b5b41882d04c3dd65650715647 (diff)
parent3dad196b882c031e4ed36536c3b2deeb1b3bbff6 (diff)
downloadtrackermap-server-4178fd23d49be268633a4ba933af72a28685280c.tar.gz
trackermap-server-4178fd23d49be268633a4ba933af72a28685280c.tar.bz2
trackermap-server-4178fd23d49be268633a4ba933af72a28685280c.zip
Merge branch 'traccar:master' into Teltonika-io30-faultCount
Diffstat (limited to 'src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
index c7713bdc2..0135e78b7 100644
--- a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
@@ -978,7 +978,7 @@ public class Gl200TextProtocolDecoder extends BaseProtocolDecoder {
index += 1; // device type
if (BitUtil.check(mask, 0)) {
- index += 1; // digital fuel sensor data
+ position.set(Position.KEY_FUEL_LEVEL, Integer.parseInt(data[index++], 16));
}
if (BitUtil.check(mask, 1)) {