rx: delay frequency estimation until history was fully refreshed
This commit is contained in:
parent
171a4a369c
commit
8441b12fbd
|
@ -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.
|
// start over with frequency estimation when preamble search restarts.
|
||||||
freq_est_history_write_idx = 0;
|
freq_est_history_write_idx = 0;
|
||||||
|
freq_est_holdoff_samples = FREQ_EST_L;
|
||||||
return true; // preamble found!
|
return true; // preamble found!
|
||||||
} else {
|
} else {
|
||||||
// preamble not found.
|
// preamble not found.
|
||||||
|
|
Loading…
Reference in a new issue