Skip to content

Commit

Permalink
Fix lon decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglasdc3 committed Feb 21, 2023
1 parent 48b9f12 commit 9d36cb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public AirbornePosition decode() {
if (isCprEven) {
positionUpdate.setEven(new CprPosition(cprLat / (double) (1 << 17), cprLon / (double) (1 << 17)));
} else {
positionUpdate.setOdd(new CprPosition(cprLat, cprLon));
positionUpdate.setOdd(new CprPosition(cprLat / (double) (1 << 17), cprLon / (double) (1 << 17)));
}

if (positionUpdate.isComplete()) {
Expand Down

0 comments on commit 9d36cb0

Please sign in to comment.