From 5acf3e52e76c8249bb3dffb9593baf4a27d7953d Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 7 Jul 2016 16:56:03 +0500 Subject: Fix typo in GranitProtocolDecoder --- src/org/traccar/protocol/GranitProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org') 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; -- cgit v1.2.3