aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gps103ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-02 22:51:17 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-02 22:51:17 +1300
commit808e1134878630796bb9e35e0f5501be942f4c5b (patch)
treee85886fa98c4466eb28c87fd2a7961f35d4dad5c /src/org/traccar/protocol/Gps103ProtocolDecoder.java
parente9d0dd5df65eea669d34750ed9a4b505d68f6dc5 (diff)
downloadtrackermap-server-808e1134878630796bb9e35e0f5501be942f4c5b.tar.gz
trackermap-server-808e1134878630796bb9e35e0f5501be942f4c5b.tar.bz2
trackermap-server-808e1134878630796bb9e35e0f5501be942f4c5b.zip
Fix negative altitude
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 d81655933..2e3620179 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++)) * 0.539957);
+ position.setSpeed(Double.valueOf(parser.group(index++)));
// Course
String course = parser.group(index++);