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:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
/** \} */
|
||||
|
||||
Reference in New Issue
Block a user