From 576ce5efbf2da92b843fcb2edf9b948be41cc99a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 19 Jul 2016 10:10:34 +1200 Subject: Fix an issue in TK103 decoder --- src/org/traccar/protocol/Tk103ProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/org/traccar/protocol/Tk103ProtocolDecoder.java b/src/org/traccar/protocol/Tk103ProtocolDecoder.java index 36378d088..a22eaa4ba 100644 --- a/src/org/traccar/protocol/Tk103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Tk103ProtocolDecoder.java @@ -121,7 +121,7 @@ public class Tk103ProtocolDecoder extends BaseProtocolDecoder { int power = parser.nextInt(); if (power != 65535) { - position.set(Position.KEY_POWER, battery); + position.set(Position.KEY_POWER, power); } return position; -- cgit v1.2.3