Skip to content

Commit

Permalink
Set position available on local updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglasdc3 committed Feb 21, 2023
1 parent 6e1f401 commit b84b07c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ private void calculateLocal(CprPosition cpr, boolean isOdd, double previousLat,
//TODO Should be a sanity-check here to see if the calculated movement since the last update is too far
this.lat = newLat;
this.lon = newLon;
this.positionAvailable = true;
}

private void calculateGlobal(CprPosition cprEven, CprPosition cprOdd) {
Expand Down

0 comments on commit b84b07c

Please sign in to comment.