aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-22 16:46:57 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-22 16:46:57 +1300
commitccefc3b345e0943bedf49ce515106b1f210971f1 (patch)
tree53ce3503b90b2c6e695eafecb142a4ea71ab1a24 /src/org/traccar/protocol
parent1ca95d099df96d576a0eaddc6e42b5b41aed3e06 (diff)
downloadtrackermap-server-ccefc3b345e0943bedf49ce515106b1f210971f1.tar.gz
trackermap-server-ccefc3b345e0943bedf49ce515106b1f210971f1.tar.bz2
trackermap-server-ccefc3b345e0943bedf49ce515106b1f210971f1.zip
Fix GT06 decoder hemisphere issue
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/Gt06ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
index f30b71c54..50683d94e 100644
--- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -116,7 +116,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
position.setCourse(BitUtil.to(flags, 10));
position.setValid(BitUtil.check(flags, 12));
- if (BitUtil.check(flags, 10)) {
+ if (!BitUtil.check(flags, 10)) {
latitude = -latitude;
}
if (BitUtil.check(flags, 11)) {