mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Fix bug in acquisition detection when the configuration parameter Acquisition_XX.threshold was set but Acquisition_XX.pfa was not
This commit is contained in:
parent
c6e4287ee1
commit
a7e5132664
@ -10,6 +10,12 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc
|
||||
|
||||
## [Unreleased](https://github.com/gnss-sdr/gnss-sdr/tree/next)
|
||||
|
||||
### Improvements in Availability:
|
||||
|
||||
- Fixed bug in acquisition detection when the configuration parameter
|
||||
`Acquisition_XX.threshold` was set but `Acquisition_XX.pfa` was not, causing
|
||||
false locks.
|
||||
|
||||
### Improvements in Efficiency:
|
||||
|
||||
- Faster `SignalConditioner` block when its implementation is set to
|
||||
|
@ -592,7 +592,7 @@ float pcps_acquisition::first_vs_second_peak_statistic(uint32_t& indext, int32_t
|
||||
}
|
||||
|
||||
int32_t idx = excludeRangeIndex1;
|
||||
memcpy(d_tmp_buffer.data(), d_magnitude_grid[index_doppler].data(), d_fft_size);
|
||||
memcpy(d_tmp_buffer.data(), d_magnitude_grid[index_doppler].data(), d_fft_size * sizeof(float));
|
||||
do
|
||||
{
|
||||
d_tmp_buffer[idx] = 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user