diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-01-11 09:39:05 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-01-11 09:39:05 +1300 |
commit | 8c7173a6e6ae0b81d96009b86cb88460daab2f4e (patch) | |
tree | b8e30dfa79380eb8eb7b3e31938a041145b514f4 /src/org/traccar | |
parent | 3e21ab1485a956d3e4a62f3850939dc448fba9d8 (diff) | |
download | trackermap-server-8c7173a6e6ae0b81d96009b86cb88460daab2f4e.tar.gz trackermap-server-8c7173a6e6ae0b81d96009b86cb88460daab2f4e.tar.bz2 trackermap-server-8c7173a6e6ae0b81d96009b86cb88460daab2f4e.zip |
Fix Disha coordinates decoding issue
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/DishaProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/DishaProtocolDecoder.java b/src/org/traccar/protocol/DishaProtocolDecoder.java index eab3de9d9..f9b7579d3 100644 --- a/src/org/traccar/protocol/DishaProtocolDecoder.java +++ b/src/org/traccar/protocol/DishaProtocolDecoder.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) + * Copyright 2015 - 2016 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,7 +82,7 @@ public class DishaProtocolDecoder extends BaseProtocolDecoder { position.setTime(dateBuilder.getDate()); position.setLatitude(parser.nextCoordinate()); - position.setLatitude(parser.nextCoordinate()); + position.setLongitude(parser.nextCoordinate()); position.setSpeed(parser.nextDouble()); position.setCourse(parser.nextDouble()); |