mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 04:00:34 +00:00
Fix test termination
This commit is contained in:
parent
9b9a2d20ff
commit
e133834fb9
@ -659,6 +659,10 @@ void pcps_acquisition::acquisition_core(uint64_t samp_count)
|
|||||||
<< ", doppler_step: " << d_doppler_step
|
<< ", doppler_step: " << d_doppler_step
|
||||||
<< ", use_CFAR_algorithm_flag: " << (d_use_CFAR_algorithm_flag ? "true" : "false");
|
<< ", use_CFAR_algorithm_flag: " << (d_use_CFAR_algorithm_flag ? "true" : "false");
|
||||||
|
|
||||||
|
if (d_acq_parameters.blocking)
|
||||||
|
{
|
||||||
|
lk.unlock();
|
||||||
|
}
|
||||||
// Doppler frequency grid loop
|
// Doppler frequency grid loop
|
||||||
if (!d_step_two)
|
if (!d_step_two)
|
||||||
{
|
{
|
||||||
@ -780,6 +784,11 @@ void pcps_acquisition::acquisition_core(uint64_t samp_count)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (d_acq_parameters.blocking)
|
||||||
|
{
|
||||||
|
lk.lock();
|
||||||
|
}
|
||||||
|
|
||||||
if (!d_acq_parameters.bit_transition_flag)
|
if (!d_acq_parameters.bit_transition_flag)
|
||||||
{
|
{
|
||||||
if (d_test_statistics > d_threshold)
|
if (d_test_statistics > d_threshold)
|
||||||
|
Loading…
Reference in New Issue
Block a user