aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-02 09:09:14 +1100
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-02 09:09:14 +1100
commit4807127711bb934ab6dbcbbe5d92290a1e576166 (patch)
tree63b05b40b16ceeaf7951612a0e30101c22f3fd8c /src/org/traccar
parent2e2801348be8b8d502e7c082a2be16d1fc83984d (diff)
downloadtrackermap-server-4807127711bb934ab6dbcbbe5d92290a1e576166.tar.gz
trackermap-server-4807127711bb934ab6dbcbbe5d92290a1e576166.tar.bz2
trackermap-server-4807127711bb934ab6dbcbbe5d92290a1e576166.zip
Fix ADC value decoding for Disha
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/DishaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/DishaProtocolDecoder.java b/src/org/traccar/protocol/DishaProtocolDecoder.java
index f9b7579d3..37ff29fac 100644
--- a/src/org/traccar/protocol/DishaProtocolDecoder.java
+++ b/src/org/traccar/protocol/DishaProtocolDecoder.java
@@ -94,7 +94,7 @@ public class DishaProtocolDecoder extends BaseProtocolDecoder {
position.set(Event.KEY_BATTERY, parser.next());
position.set(Event.PREFIX_ADC + 1, parser.nextInt());
- position.set(Event.PREFIX_ADC + 1, parser.nextInt());
+ position.set(Event.PREFIX_ADC + 2, parser.nextInt());
position.set(Event.KEY_ODOMETER, parser.next());
position.set(Event.KEY_INPUT, parser.next());