Skip to content

Commit

Permalink
traces: make sure the air ground transition is well recorded
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Jan 6, 2025
1 parent 48ef3c0 commit 3efa2b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions globe_index.c
Original file line number Diff line number Diff line change
Expand Up @@ -2453,6 +2453,7 @@ int traceAdd(struct aircraft *a, struct modesMessage *mm, int64_t now, int stale

// record ground air state changes precisely
if (on_ground != last->on_ground) {
traceUsePosBuffered(a); // save the previous position as well if it's not already saved
goto save_state;
}

Expand Down

0 comments on commit 3efa2b1

Please sign in to comment.