1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-08 19:23:07 +00:00

Merge branch 'clang-tidy-fgpa' into next

This commit is contained in:
Carles Fernandez
2021-01-25 22:17:08 +01:00
6 changed files with 11 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ Fpga_dynamic_bit_selection::~Fpga_dynamic_bit_selection()
}
void Fpga_dynamic_bit_selection::bit_selection(void)
void Fpga_dynamic_bit_selection::bit_selection()
{
// estimated signal power corresponding to frequency band 1
uint32_t rx_signal_power1 = d_map_base1[1];

View File

@@ -1297,7 +1297,7 @@ int32_t dll_pll_veml_tracking_fpga::save_matfile() const
}
void dll_pll_veml_tracking_fpga::set_channel(uint32_t channel, std::string device_io_name)
void dll_pll_veml_tracking_fpga::set_channel(uint32_t channel, const std::string& device_io_name)
{
gr::thread::scoped_lock l(d_setlock);

View File

@@ -66,7 +66,7 @@ public:
/*!
* \brief Set the channel number and configure some multicorrelator parameters
*/
void set_channel(uint32_t channel, std::string device_io_name);
void set_channel(uint32_t channel, const std::string& device_io_name);
/*!
* \brief This function is used with two purposes:

View File

@@ -192,7 +192,7 @@ bool Fpga_Multicorrelator_8sc::free()
}
void Fpga_Multicorrelator_8sc::open_channel(std::string device_io_name, uint32_t channel)
void Fpga_Multicorrelator_8sc::open_channel(const std::string& device_io_name, uint32_t channel)
{
std::cout << "trk device_io_name = " << device_io_name << '\n';

View File

@@ -91,7 +91,7 @@ public:
/*!
* \brief Open the FPGA device driver
*/
void open_channel(std::string device_io_name, uint32_t channel);
void open_channel(const std::string& device_io_name, uint32_t channel);
/*!
* \brief Set the initial sample number where the tracking process begins