From 3efa2b1ecf3b6b3abf5821d7acaba475a7d97d96 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Mon, 6 Jan 2025 13:51:38 +0000 Subject: [PATCH] traces: make sure the air ground transition is well recorded --- globe_index.c | 1 + 1 file changed, 1 insertion(+) diff --git a/globe_index.c b/globe_index.c index 35d04e33..a499589c 100644 --- a/globe_index.c +++ b/globe_index.c @@ -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; }