aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/UproProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-10 01:35:35 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-10 09:36:23 +1300
commit9d9dbcdd3229c6f852031d2e458aca194bcee8b9 (patch)
tree2037183d285d692f3546ca753f0eb83d33e1f733 /src/org/traccar/protocol/UproProtocolDecoder.java
parentef7247060c22c060744580f825391673773703c5 (diff)
downloadtrackermap-server-9d9dbcdd3229c6f852031d2e458aca194bcee8b9.tar.gz
trackermap-server-9d9dbcdd3229c6f852031d2e458aca194bcee8b9.tar.bz2
trackermap-server-9d9dbcdd3229c6f852031d2e458aca194bcee8b9.zip
Fix issues with upro coordinates
Diffstat (limited to 'src/org/traccar/protocol/UproProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/UproProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/UproProtocolDecoder.java b/src/org/traccar/protocol/UproProtocolDecoder.java
index e48162322..02a241ddd 100644
--- a/src/org/traccar/protocol/UproProtocolDecoder.java
+++ b/src/org/traccar/protocol/UproProtocolDecoder.java
@@ -72,7 +72,7 @@ public class UproProtocolDecoder extends BaseProtocolDecoder {
position.setLatitude(-position.getLatitude());
}
if (!BitUtil.check(flags, 2)) {
- position.setLatitude(-position.getLatitude());
+ position.setLongitude(-position.getLongitude());
}
position.setSpeed(parser.nextInt() * 2);