aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-21 03:41:21 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-21 03:41:21 +1200
commitbaf9c062836987e5316341279c3063a63983725f (patch)
tree2911ebc047a66d224311d36f99f5d3def8c739b1
parent2111f7989efcb4a80b382fb0022119413d50140d (diff)
downloadtraccar-server-baf9c062836987e5316341279c3063a63983725f.tar.gz
traccar-server-baf9c062836987e5316341279c3063a63983725f.tar.bz2
traccar-server-baf9c062836987e5316341279c3063a63983725f.zip
Rename TK103 attributes
-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 de3e01faa..aa75f5675 100644
--- a/src/org/traccar/protocol/Tk103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tk103ProtocolDecoder.java
@@ -295,7 +295,7 @@ public class Tk103ProtocolDecoder extends BaseProtocolDecoder {
int mask3 = parser.nextHexInt();
for (int i = 1; i <= 3; i++) {
if (decodeLow || BitUtil.check(mask3, i)) {
- position.set("hs" + (3 - i + 1), BitUtil.check(mask3, i) ? 1 : 0);
+ position.set("ls" + (3 - i + 1), BitUtil.check(mask3, i) ? 1 : 0);
}
}