[hamradio-commits] [gnss-sdr] 150/251: ensure that all members are initialized at the constructor
Carles Fernandez
carles_fernandez-guest at moszumanska.debian.org
Wed Sep 2 00:22:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
carles_fernandez-guest pushed a commit to branch master
in repository gnss-sdr.
commit 4fe35f760ba8580e047239b249c95e9d264dde28
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date: Tue May 26 20:36:20 2015 +0200
ensure that all members are initialized at the constructor
---
.../galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc b/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc
index 35296c1..dd4ff6d 100644
--- a/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc
+++ b/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc
@@ -116,6 +116,11 @@ galileo_e5a_noncoherentIQ_acquisition_caf_cc::galileo_e5a_noncoherentIQ_acquisit
d_fft_code_Q_A = static_cast<gr_complex*>(volk_malloc(d_fft_size * sizeof(gr_complex), volk_get_alignment()));
d_magnitudeQA = static_cast<float*>(volk_malloc(d_fft_size * sizeof(float), volk_get_alignment()));
}
+ else
+ {
+ d_fft_code_Q_A = 0;
+ d_magnitudeQA = 0;
+ }
// IF COHERENT INTEGRATION TIME > 1
if (d_sampled_ms > 1)
{
@@ -126,6 +131,11 @@ galileo_e5a_noncoherentIQ_acquisition_caf_cc::galileo_e5a_noncoherentIQ_acquisit
d_fft_code_Q_B = static_cast<gr_complex*>(volk_malloc(d_fft_size * sizeof(gr_complex), volk_get_alignment()));
d_magnitudeQB = static_cast<float*>(volk_malloc(d_fft_size * sizeof(float), volk_get_alignment()));
}
+ else
+ {
+ d_fft_code_Q_B = 0;
+ d_magnitudeQB = 0;
+ }
}
// Direct FFT
@@ -147,6 +157,7 @@ galileo_e5a_noncoherentIQ_acquisition_caf_cc::galileo_e5a_noncoherentIQ_acquisit
d_doppler_freq = 0;
d_test_statistics = 0;
d_channel_internal_queue = 0;
+ d_CAF_vector = 0;
d_CAF_vector_I = 0;
d_CAF_vector_Q = 0;
d_channel = 0;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git
More information about the pkg-hamradio-commits
mailing list