aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/IntellitracProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-22 17:59:22 +1200
committerGitHub <noreply@github.com>2017-05-22 17:59:22 +1200
commit5af130db6edcc25d89a8f84e55350644ba4797b3 (patch)
treed828de08c9c2f7cabf671f6d75ddda459af77507 /src/org/traccar/protocol/IntellitracProtocolDecoder.java
parent0bafa34ebceba731aae2b45ae9e05c8f55b66b0e (diff)
parent152e8f2e494275b1259601560abc22bcb39502c3 (diff)
downloadtrackermap-server-5af130db6edcc25d89a8f84e55350644ba4797b3.tar.gz
trackermap-server-5af130db6edcc25d89a8f84e55350644ba4797b3.tar.bz2
trackermap-server-5af130db6edcc25d89a8f84e55350644ba4797b3.zip
Merge pull request #3178 from Abyss777/power_and_charge
Organize KEY_POWER and KEY_CHARGE
Diffstat (limited to 'src/org/traccar/protocol/IntellitracProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/IntellitracProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/IntellitracProtocolDecoder.java b/src/org/traccar/protocol/IntellitracProtocolDecoder.java
index daba15a90..8f4e4c0d6 100644
--- a/src/org/traccar/protocol/IntellitracProtocolDecoder.java
+++ b/src/org/traccar/protocol/IntellitracProtocolDecoder.java
@@ -107,7 +107,7 @@ public class IntellitracProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_FUEL_LEVEL, parser.nextInt(0));
position.set(Position.KEY_FUEL_CONSUMPTION, parser.nextInt(0));
position.set(Position.PREFIX_TEMP + 1, parser.nextInt(0));
- position.set(Position.KEY_CHARGE, parser.nextInt(0));
+ position.set("chargerPressure", parser.nextInt(0));
position.set("tpl", parser.nextInt(0));
position.set("axle", parser.nextInt(0));
position.set(Position.KEY_OBD_ODOMETER, parser.nextInt(0));