diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-08 14:33:25 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-08 14:33:25 +1200 |
commit | 731020440991a53034dd2e980add2a08cb9a19de (patch) | |
tree | 2fdc5564eea69f3b3bdffb17439519daf505b348 /src/org/traccar/protocol/TramigoProtocolDecoder.java | |
parent | dc5dc6b6ff9b33db50d7a706017b4a0e8f423398 (diff) | |
download | trackermap-server-731020440991a53034dd2e980add2a08cb9a19de.tar.gz trackermap-server-731020440991a53034dd2e980add2a08cb9a19de.tar.bz2 trackermap-server-731020440991a53034dd2e980add2a08cb9a19de.zip |
Fix code check issues
Diffstat (limited to 'src/org/traccar/protocol/TramigoProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/TramigoProtocolDecoder.java | 2 |
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()); |