Skip to content

Commit b84b07c

Browse files
committed
Set position available on local updates
1 parent 6e1f401 commit b84b07c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ private void calculateLocal(CprPosition cpr, boolean isOdd, double previousLat,
248248
//TODO Should be a sanity-check here to see if the calculated movement since the last update is too far
249249
this.lat = newLat;
250250
this.lon = newLon;
251+
this.positionAvailable = true;
251252
}
252253

253254
private void calculateGlobal(CprPosition cprEven, CprPosition cprOdd) {

0 commit comments

Comments
 (0)