diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-21 03:41:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-21 03:41:21 +1200 |
commit | baf9c062836987e5316341279c3063a63983725f (patch) | |
tree | 2911ebc047a66d224311d36f99f5d3def8c739b1 /src | |
parent | 2111f7989efcb4a80b382fb0022119413d50140d (diff) | |
download | traccar-server-baf9c062836987e5316341279c3063a63983725f.tar.gz traccar-server-baf9c062836987e5316341279c3063a63983725f.tar.bz2 traccar-server-baf9c062836987e5316341279c3063a63983725f.zip |
Rename TK103 attributes
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/Tk103ProtocolDecoder.java | 2 |
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); } } |