diff options
Diffstat (limited to 'src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java')
-rw-r--r-- | src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java b/src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java index 2ff6ce949..79350307c 100644 --- a/src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java +++ b/src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java @@ -126,6 +126,9 @@ public class Tk103ProtocolDecoder extends OneToOneDecoder { if (parser.group(index++).compareTo("W") == 0) lonlitude = -lonlitude; position.setLongitude(lonlitude); + // Altitude + position.setAltitude(0.0); + // Speed position.setSpeed(Double.valueOf(parser.group(index++))); |