From 094f8f2ee919bf14a2e7f3526780aa19e26b3567 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 16 Jun 2020 08:29:10 +0200 Subject: [PATCH] Remove unneded reset of the acquisition grid --- .../acquisition/gnuradio_blocks/pcps_acquisition.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition.cc b/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition.cc index 734951fe0..40765a47e 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition.cc +++ b/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition.cc @@ -868,14 +868,6 @@ void pcps_acquisition::acquisition_core(uint64_t samp_count) } d_num_noncoherent_integrations_counter = 0U; d_positive_acq = 0; - // Reset grid - for (uint32_t i = 0; i < d_num_doppler_bins; i++) - { - for (uint32_t k = 0; k < d_fft_size; k++) - { - d_magnitude_grid[i][k] = 0.0; - } - } } }