From 8441b12fbd5d575d94303203eacaa152eb68c8ff Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Sat, 30 Mar 2024 22:10:13 +0100 Subject: [PATCH] rx: delay frequency estimation until history was fully refreshed --- impl/src/layer1/rx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/impl/src/layer1/rx.c b/impl/src/layer1/rx.c index 3143697..ecf4fc4 100644 --- a/impl/src/layer1/rx.c +++ b/impl/src/layer1/rx.c @@ -88,6 +88,7 @@ static bool acquire_preamble(layer1_rx_t *rx, const float complex sample) // start over with frequency estimation when preamble search restarts. freq_est_history_write_idx = 0; + freq_est_holdoff_samples = FREQ_EST_L; return true; // preamble found! } else { // preamble not found.