aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-19 10:10:34 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-19 10:10:34 +1200
commit576ce5efbf2da92b843fcb2edf9b948be41cc99a (patch)
treedd9c34bf13d7f6936d9fe90b9aba67c0b7fc8413 /src/org
parent0554e13bb8de191c24c6c1c3b6957b34df3a9fe5 (diff)
downloadtrackermap-server-576ce5efbf2da92b843fcb2edf9b948be41cc99a.tar.gz
trackermap-server-576ce5efbf2da92b843fcb2edf9b948be41cc99a.tar.bz2
trackermap-server-576ce5efbf2da92b843fcb2edf9b948be41cc99a.zip
Fix an issue in TK103 decoder
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/Tk103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
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;