[hamradio-commits] [gnss-sdr] 140/251: initialize members in the constructor

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Wed Sep 2 00:22:43 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 0b34eee48c5e253bd5421ce545019bb575e50536
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Sun May 24 11:15:27 2015 +0200

    initialize members in the constructor
---
 .../gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc b/src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc
index 88c499e..4fd8448 100644
--- a/src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc
+++ b/src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc
@@ -175,6 +175,20 @@ Galileo_E5a_Dll_Pll_Tracking_cc::Galileo_E5a_Dll_Pll_Tracking_cc(
     d_carrier_lock_fail_counter = 0;
     d_carrier_lock_threshold = CARRIER_LOCK_THRESHOLD;
 
+    d_channel_internal_queue = 0;
+    d_acquisition_gnss_synchro = 0;
+    d_channel = 0;
+    tmp_E = 0;
+    tmp_P = 0;
+    tmp_L = 0;
+    d_acq_code_phase_samples = 0;
+    d_acq_carrier_doppler_hz = 0;
+    d_carrier_doppler_hz = 0;
+    d_acc_carrier_phase_rad = 0;
+    d_code_phase_samples = 0;
+    d_acc_code_phase_secs = 0;
+    d_state = 0;
+
     systemName["E"] = std::string("Galileo");
 }
 

-- 
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