aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gps103ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-02 12:29:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-02 12:29:02 +1300
commitd4e12c019193026eda930d3bf4e1246b3391a2b4 (patch)
treece51175866c7d815cb2ae4103cf016f0faee25e4 /src/org/traccar/protocol/Gps103ProtocolDecoder.java
parent352a94ba7c3c9162afb4175e6c49515188544797 (diff)
downloadtrackermap-server-d4e12c019193026eda930d3bf4e1246b3391a2b4.tar.gz
trackermap-server-d4e12c019193026eda930d3bf4e1246b3391a2b4.tar.bz2
trackermap-server-d4e12c019193026eda930d3bf4e1246b3391a2b4.zip
Use knots in GPS103
Diffstat (limited to 'src/org/traccar/protocol/Gps103ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index 2e3620179..d81655933 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -154,7 +154,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
position.setAltitude(0.0);
// Speed
- position.setSpeed(Double.valueOf(parser.group(index++)));
+ position.setSpeed(Double.valueOf(parser.group(index++)) * 0.539957);
// Course
String course = parser.group(index++);