From 5b10bef728ccb0a2b4bbe275a8a78576f1cf8e78 Mon Sep 17 00:00:00 2001 From: Peter John Peiser Date: Thu, 26 Dec 2024 18:26:51 +0200 Subject: [PATCH] Update src/flight/filter.c Co-authored-by: Hugo Chiang <1483569698@qq.com> --- src/flight/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flight/filter.c b/src/flight/filter.c index 287a1f23b..1fbbf749a 100644 --- a/src/flight/filter.c +++ b/src/flight/filter.c @@ -168,7 +168,7 @@ static float fix_road(float *series, float *series_b, int index, int filter_n, i series_b[cur_index] = minValue; } prev_val = cur_val; - prev_val_b = cur_val_b; + prev_val_b = cur_val_b; cur_index++; index_pos++; }