aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-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);