Skip to content

Commit 9d36cb0

Browse files
committed
Fix lon decoding
1 parent 48b9f12 commit 9d36cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/aero/t2s/modes/decoder/df/df17/AirbornePosition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public AirbornePosition decode() {
7878
if (isCprEven) {
7979
positionUpdate.setEven(new CprPosition(cprLat / (double) (1 << 17), cprLon / (double) (1 << 17)));
8080
} else {
81-
positionUpdate.setOdd(new CprPosition(cprLat, cprLon));
81+
positionUpdate.setOdd(new CprPosition(cprLat / (double) (1 << 17), cprLon / (double) (1 << 17)));
8282
}
8383

8484
if (positionUpdate.isComplete()) {

0 commit comments

Comments
 (0)