diff options
Diffstat (limited to 'src/org/traccar/protocol/MeitrackProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MeitrackProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/org/traccar/protocol/MeitrackProtocolDecoder.java index e213b7ddb..25a86552c 100644 --- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java +++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java @@ -224,13 +224,13 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder { position.setSpeed(buf.readUnsignedShort() * 0.539957); // Course - position.setCourse((double) buf.readUnsignedShort()); + position.setCourse(buf.readUnsignedShort()); // HDOP extendedInfo.set("hdop", buf.readUnsignedShort() * 0.1); // Altitude - position.setAltitude((double) buf.readUnsignedShort()); + position.setAltitude(buf.readUnsignedShort()); // Other extendedInfo.set("milage", buf.readUnsignedInt()); |