aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/AtrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AtrackProtocolDecoder.java b/src/org/traccar/protocol/AtrackProtocolDecoder.java
index ebccfec94..7755bfa25 100644
--- a/src/org/traccar/protocol/AtrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/AtrackProtocolDecoder.java
@@ -274,7 +274,7 @@ public class AtrackProtocolDecoder extends BaseProtocolDecoder {
.number("(-?d+),") // latitude
.number("(d+),") // course
.number("(d+),") // report id
- .number("(d+.d+),") // odometer
+ .number("(d+.?d*),") // odometer
.number("(d+),") // hdop
.number("(d+),") // inputs
.number("(d+),") // speed