diff options
author | Abyss777 <abyss@fox5.ru> | 2016-07-07 16:56:03 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-07-07 16:56:03 +0500 |
commit | 5acf3e52e76c8249bb3dffb9593baf4a27d7953d (patch) | |
tree | 998ab1b7090e491a1e708824c2ee7779ef8e1f14 | |
parent | e4b3214b83606cb6a0aff71d9b2951910c14f4ed (diff) | |
download | traccar-server-5acf3e52e76c8249bb3dffb9593baf4a27d7953d.tar.gz traccar-server-5acf3e52e76c8249bb3dffb9593baf4a27d7953d.tar.bz2 traccar-server-5acf3e52e76c8249bb3dffb9593baf4a27d7953d.zip |
Fix typo in GranitProtocolDecoder
-rw-r--r-- | src/org/traccar/protocol/GranitProtocolDecoder.java | 2 |
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; |