From df6996f3b14d0b98eda31a7bb9b5a5da379d3d90 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 27 Nov 2015 14:06:30 +0100 Subject: [PATCH] reverting wrong change --- src/algorithms/tracking/libs/lock_detectors.cc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/algorithms/tracking/libs/lock_detectors.cc b/src/algorithms/tracking/libs/lock_detectors.cc index dc738c936..b3d6e9cb9 100644 --- a/src/algorithms/tracking/libs/lock_detectors.cc +++ b/src/algorithms/tracking/libs/lock_detectors.cc @@ -73,20 +73,16 @@ float cn0_svn_estimator(gr_complex* Prompt_buffer, int length, long fs_in, doubl float SNR_dB_Hz = 0; float Psig = 0; float Ptot = 0; - float Psig2, Ptot2, SNR_dB_Hz2; Psig2=0; Ptot2=0; for (int i=0; i