aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/WatchProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolDecoder.java b/src/org/traccar/protocol/WatchProtocolDecoder.java
index adaa41061..4d71a7f5d 100644
--- a/src/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/org/traccar/protocol/WatchProtocolDecoder.java
@@ -53,7 +53,7 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder {
.expression("([EW]),")
.number("(d+.d+),") // speed
.number("(d+.d+),") // course
- .number("(d+),") // altitude
+ .number("(d+.?d*),") // altitude
.number("(d+),") // satellites
.number("(d+),") // gsm
.number("(d+),") // battery