1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-25 20:47:39 +00:00

Apply changes suggested by clang-tidy

This commit is contained in:
Carles Fernandez
2022-12-06 12:54:21 +01:00
parent 31b7a01c51
commit 6a1eec93b6
11 changed files with 34 additions and 32 deletions

View File

@@ -131,7 +131,7 @@ float cn0_m2m4_estimator(const gr_complex* Prompt_buffer, int length, float coh_
* \f$NBP=(\sum^{N-1}_{i=0}Im(Pc(i)))^2+(\sum^{N-1}_{i=0}Re(Pc(i)))^2\f$, and
* \f$Pc(i)\f$ is the prompt correlator output for the sample index i.
*/
float carrier_lock_detector(gr_complex* Prompt_buffer, int length)
float carrier_lock_detector(const gr_complex* Prompt_buffer, int length)
{
float tmp_sum_I = 0.0;
float tmp_sum_Q = 0.0;

View File

@@ -106,7 +106,7 @@ float cn0_m2m4_estimator(const gr_complex* Prompt_buffer, int length, float coh_
* Volume I, Chapter 8: GPS Receivers, AJ Systems, Los Altos, CA 94024.
* Inc.: 329-407.
*/
float carrier_lock_detector(gr_complex* Prompt_buffer, int length);
float carrier_lock_detector(const gr_complex* Prompt_buffer, int length);
/** \} */