aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/ThinkPowerProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-29 17:03:23 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-29 17:03:23 -0700
commitaed0411f4ae5cfc007d27e0521a39a242fab7840 (patch)
treea704e82dc4c82e0d128e9619290ebb5cb8a66ea1 /src/main/java/org/traccar/protocol/ThinkPowerProtocolDecoder.java
parent8921fc12ea0590c290f3780fa20df7176b8c0000 (diff)
downloadtrackermap-server-aed0411f4ae5cfc007d27e0521a39a242fab7840.tar.gz
trackermap-server-aed0411f4ae5cfc007d27e0521a39a242fab7840.tar.bz2
trackermap-server-aed0411f4ae5cfc007d27e0521a39a242fab7840.zip
Unify signed magnitude int decoding
Diffstat (limited to 'src/main/java/org/traccar/protocol/ThinkPowerProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/ThinkPowerProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/ThinkPowerProtocolDecoder.java b/src/main/java/org/traccar/protocol/ThinkPowerProtocolDecoder.java
index 085ce4c91..26d60daba 100644
--- a/src/main/java/org/traccar/protocol/ThinkPowerProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ThinkPowerProtocolDecoder.java
@@ -19,6 +19,7 @@ import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.Channel;
import org.traccar.BaseProtocolDecoder;
+import org.traccar.helper.BitUtil;
import org.traccar.session.DeviceSession;
import org.traccar.NetworkMessage;
import org.traccar.Protocol;