diff options
Diffstat (limited to 'src/net/sourceforge/opentracking/protocol')
-rw-r--r-- | src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java b/src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java index 15cb99f55..7b21a1a72 100644 --- a/src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java +++ b/src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java @@ -112,6 +112,8 @@ public class XexunProtocolDecoder extends OneToOneDecoder { String course = parser.group(index++); if (course != null) { position.setCourse(Double.valueOf(course)); + } else { + position.setCourse(0.0); } // Date |