aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-08 14:33:25 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-08 14:33:25 +1200
commit731020440991a53034dd2e980add2a08cb9a19de (patch)
tree2fdc5564eea69f3b3bdffb17439519daf505b348 /src/org/traccar/protocol
parentdc5dc6b6ff9b33db50d7a706017b4a0e8f423398 (diff)
downloadtrackermap-server-731020440991a53034dd2e980add2a08cb9a19de.tar.gz
trackermap-server-731020440991a53034dd2e980add2a08cb9a19de.tar.bz2
trackermap-server-731020440991a53034dd2e980add2a08cb9a19de.zip
Fix code check issues
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/TramigoProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TramigoProtocolDecoder.java b/src/org/traccar/protocol/TramigoProtocolDecoder.java
index 8a6f49ef0..b39e3eab1 100644
--- a/src/org/traccar/protocol/TramigoProtocolDecoder.java
+++ b/src/org/traccar/protocol/TramigoProtocolDecoder.java
@@ -88,7 +88,7 @@ public class TramigoProtocolDecoder extends BaseProtocolDecoder {
position.set("gpsAntennaStatus", buf.readUnsignedShort());
position.setSpeed(buf.readUnsignedShort() * 0.194384);
- position.setCourse((double) buf.readUnsignedShort());
+ position.setCourse(buf.readUnsignedShort());
position.set(Position.KEY_ODOMETER, buf.readUnsignedInt());