diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-10 01:35:35 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-10 09:36:23 +1300 |
commit | 9d9dbcdd3229c6f852031d2e458aca194bcee8b9 (patch) | |
tree | 2037183d285d692f3546ca753f0eb83d33e1f733 /src/org/traccar/protocol | |
parent | ef7247060c22c060744580f825391673773703c5 (diff) | |
download | traccar-server-9d9dbcdd3229c6f852031d2e458aca194bcee8b9.tar.gz traccar-server-9d9dbcdd3229c6f852031d2e458aca194bcee8b9.tar.bz2 traccar-server-9d9dbcdd3229c6f852031d2e458aca194bcee8b9.zip |
Fix issues with upro coordinates
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/UproProtocolDecoder.java | 2 |
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); |