aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/AutoFon45ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/AutoFon45ProtocolDecoder.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java b/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
index c72139c50..c2b675194 100644
--- a/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
+++ b/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
@@ -110,7 +110,6 @@ public class AutoFon45ProtocolDecoder extends BaseProtocolDecoder {
position.setLongitude(convertCoordinate(buf.readUnsignedByte(), buf.readUnsignedByte() << 16 | buf.readUnsignedByte() << 8 | buf.readUnsignedByte()));
position.setSpeed((double) buf.readUnsignedByte());
position.setCourse((double) (buf.readUnsignedByte() << 8 | buf.readUnsignedByte()));
- position.setAltitude(0.0);
buf.readUnsignedByte(); // checksum