diff options
Diffstat (limited to 'src/org/traccar/protocol/TytanProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/TytanProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/org/traccar/protocol/TytanProtocolDecoder.java index b52e83852..d86e5872e 100644 --- a/src/org/traccar/protocol/TytanProtocolDecoder.java +++ b/src/org/traccar/protocol/TytanProtocolDecoder.java @@ -87,7 +87,7 @@ public class TytanProtocolDecoder extends BaseProtocolDecoder { // Course int course = (buf.readUnsignedByte() >> 5) * 45; course = (course + 180) % 360; - position.setCourse((double) course); + position.setCourse(course); // Speed int speed = buf.readUnsignedByte(); |