mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-24 20:17:39 +00:00
Apply readability-isolate-declaration clang-tidy check
This commit is contained in:
@@ -127,7 +127,8 @@ Fpga_Multicorrelator_8sc::~Fpga_Multicorrelator_8sc()
|
||||
|
||||
uint64_t Fpga_Multicorrelator_8sc::read_sample_counter()
|
||||
{
|
||||
uint64_t sample_counter_tmp, sample_counter_msw_tmp;
|
||||
uint64_t sample_counter_tmp;
|
||||
uint64_t sample_counter_msw_tmp;
|
||||
sample_counter_tmp = d_map_base[sample_counter_reg_addr_lsw];
|
||||
sample_counter_msw_tmp = d_map_base[sample_counter_reg_addr_msw];
|
||||
sample_counter_msw_tmp = sample_counter_msw_tmp << 32;
|
||||
|
||||
@@ -64,7 +64,8 @@ double phase_unwrap(double phase_rad)
|
||||
*/
|
||||
double fll_four_quadrant_atan(gr_complex prompt_s1, gr_complex prompt_s2, double t1, double t2)
|
||||
{
|
||||
double cross, dot;
|
||||
double cross;
|
||||
double dot;
|
||||
dot = prompt_s1.real() * prompt_s2.real() + prompt_s1.imag() * prompt_s2.imag();
|
||||
cross = prompt_s1.real() * prompt_s2.imag() - prompt_s2.real() * prompt_s1.imag();
|
||||
return atan2(cross, dot) / (t2 - t1);
|
||||
|
||||
Reference in New Issue
Block a user