aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent2e2801348be8b8d502e7c082a2be16d1fc83984d (diff)
downloadtraccar-server-4807127711bb934ab6dbcbbe5d92290a1e576166.tar.gz
traccar-server-4807127711bb934ab6dbcbbe5d92290a1e576166.tar.bz2
traccar-server-4807127711bb934ab6dbcbbe5d92290a1e576166.zip
Fix ADC value decoding for Disha
Diffstat (limited to 'src')
-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());