aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/GlobalstarProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/GlobalstarProtocolDecoder.java b/src/main/java/org/traccar/protocol/GlobalstarProtocolDecoder.java
index ab9e5dccf..5739a1224 100644
--- a/src/main/java/org/traccar/protocol/GlobalstarProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GlobalstarProtocolDecoder.java
@@ -99,7 +99,7 @@ public class GlobalstarProtocolDecoder extends BaseHttpProtocolDecoder {
position.setLatitude(position.getLatitude() - 180);
}
- position.setLongitude(buf.readUnsignedMedium() * 90.0 / (1 << 23));
+ position.setLongitude(buf.readUnsignedMedium() * 180.0 / (1 << 23));
if (position.getLongitude() > 180) {
position.setLongitude(position.getLongitude() - 360);
}