aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-01-24 01:03:18 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-01-24 01:03:18 +1300
commit8b84c115ff396532159d4b890618a1a7bf2fe4cb (patch)
tree1676d5db850adc32dfd6ffff1f327fa8139b2a8a /src/org/traccar
parent00534cbfde4883dc6264aef1d7a913b89a712fb1 (diff)
downloadtraccar-server-8b84c115ff396532159d4b890618a1a7bf2fe4cb.tar.gz
traccar-server-8b84c115ff396532159d4b890618a1a7bf2fe4cb.tar.bz2
traccar-server-8b84c115ff396532159d4b890618a1a7bf2fe4cb.zip
Fix VT200 longitude issue
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Vt200ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Vt200ProtocolDecoder.java b/src/org/traccar/protocol/Vt200ProtocolDecoder.java
index 30fd88615..d08107b16 100644
--- a/src/org/traccar/protocol/Vt200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Vt200ProtocolDecoder.java
@@ -84,7 +84,7 @@ public class Vt200ProtocolDecoder extends BaseProtocolDecoder {
if (!BitUtil.check(flags, 1)) {
position.setLatitude(-position.getLatitude());
}
- if (!BitUtil.check(flags, 1)) {
+ if (!BitUtil.check(flags, 2)) {
position.setLongitude(-position.getLongitude());
}