From 4807127711bb934ab6dbcbbe5d92290a1e576166 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 2 Feb 2016 09:09:14 +1100 Subject: Fix ADC value decoding for Disha --- src/org/traccar/protocol/DishaProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); -- cgit v1.2.3