aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-07 16:56:03 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-07 16:56:03 +0500
commit5acf3e52e76c8249bb3dffb9593baf4a27d7953d (patch)
tree998ab1b7090e491a1e708824c2ee7779ef8e1f14 /src/org/traccar
parente4b3214b83606cb6a0aff71d9b2951910c14f4ed (diff)
downloadtrackermap-server-5acf3e52e76c8249bb3dffb9593baf4a27d7953d.tar.gz
trackermap-server-5acf3e52e76c8249bb3dffb9593baf4a27d7953d.tar.bz2
trackermap-server-5acf3e52e76c8249bb3dffb9593baf4a27d7953d.zip
Fix typo in GranitProtocolDecoder
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/GranitProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GranitProtocolDecoder.java b/src/org/traccar/protocol/GranitProtocolDecoder.java
index 9e618efa9..7432961b0 100644
--- a/src/org/traccar/protocol/GranitProtocolDecoder.java
+++ b/src/org/traccar/protocol/GranitProtocolDecoder.java
@@ -85,7 +85,7 @@ public class GranitProtocolDecoder extends BaseProtocolDecoder {
double latitude = latDegrees + latMinutes / 60000.0;
double longitude = lonDegrees + lonMinutes / 60000.0;
if (!BitUtil.check(flags, 4)) {
- latitude = -latDegrees;
+ latitude = -latitude;
}
if (!BitUtil.check(flags, 5)) {
longitude = -longitude;