aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/AquilaProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-17 16:38:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-17 16:38:02 +1200
commitd643e9a75f1c6580d098b68cffc2c709db611d8e (patch)
treeb0d146aaa67352c46d4c5cfbd19aaa2cf6d2973e /src/org/traccar/protocol/AquilaProtocolDecoder.java
parent1c756c57653b72a656407da9c53ac292c5551cdb (diff)
downloadtrackermap-server-d643e9a75f1c6580d098b68cffc2c709db611d8e.tar.gz
trackermap-server-d643e9a75f1c6580d098b68cffc2c709db611d8e.tar.bz2
trackermap-server-d643e9a75f1c6580d098b68cffc2c709db611d8e.zip
Normalize fuel level value
Diffstat (limited to 'src/org/traccar/protocol/AquilaProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/AquilaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AquilaProtocolDecoder.java b/src/org/traccar/protocol/AquilaProtocolDecoder.java
index 9c7b1bb12..30f5667af 100644
--- a/src/org/traccar/protocol/AquilaProtocolDecoder.java
+++ b/src/org/traccar/protocol/AquilaProtocolDecoder.java
@@ -159,7 +159,7 @@ public class AquilaProtocolDecoder extends BaseProtocolDecoder {
if (parser.hasNext(9)) {
- position.set(Position.KEY_FUEL_LEVEL, parser.next());
+ position.set(Position.KEY_FUEL_LEVEL, parser.nextInt());
position.set(Position.PREFIX_IN + 1, parser.next());
position.set(Position.KEY_CHARGE, parser.next());
position.set(Position.PREFIX_IN + 2, parser.next());