aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/ManPowerProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/ManPowerProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/ManPowerProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/ManPowerProtocolDecoder.java b/src/org/traccar/protocol/ManPowerProtocolDecoder.java
index 08cb8b818..6cff8b961 100644
--- a/src/org/traccar/protocol/ManPowerProtocolDecoder.java
+++ b/src/org/traccar/protocol/ManPowerProtocolDecoder.java
@@ -73,7 +73,7 @@ public class ManPowerProtocolDecoder extends BaseProtocolDecoder {
position.setValid(parser.next().equals("A"));
position.setLatitude(parser.nextCoordinate());
position.setLongitude(parser.nextCoordinate());
- position.setSpeed(parser.nextDouble());
+ position.setSpeed(parser.nextDouble(0));
return position;
}