rx: delay frequency estimation until history was fully refreshed

This commit is contained in:
Thomas Kolb 2024-03-30 22:10:13 +01:00
parent 171a4a369c
commit 8441b12fbd
1 changed files with 1 additions and 0 deletions

View File

@ -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.