diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-08 00:19:33 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 00:19:33 +1200 |
commit | 087e3df977541327e6977bd73aa22b6aafce2313 (patch) | |
tree | e5051bf28e4f033f14cdae98520ffa35603c95df /src/org | |
parent | 4007613e2d420cb8b74eb49740683e940d17578c (diff) | |
parent | 5acf3e52e76c8249bb3dffb9593baf4a27d7953d (diff) | |
download | traccar-server-087e3df977541327e6977bd73aa22b6aafce2313.tar.gz traccar-server-087e3df977541327e6977bd73aa22b6aafce2313.tar.bz2 traccar-server-087e3df977541327e6977bd73aa22b6aafce2313.zip |
Merge pull request #2087 from Abyss777/master
Fix typo in GranitProtocolDecoder
Diffstat (limited to 'src/org')
-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; |