mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-30 06:52:58 +00:00
Apply clang-tidy checks
This commit is contained in:
@@ -110,7 +110,7 @@ Ad9361FpgaSignalSource::Ad9361FpgaSignalSource(ConfigurationInterface* configura
|
||||
std::string default_device_name = "/dev/uio13";
|
||||
std::string device_name = configuration->property(role + ".devicename", default_device_name);
|
||||
int switch_position = configuration->property(role + ".switch_position", 0);
|
||||
switch_fpga = std::make_shared<fpga_switch>(device_name);
|
||||
switch_fpga = std::make_shared<Fpga_Switch>(device_name);
|
||||
switch_fpga->set_switch_position(switch_position);
|
||||
if (in_stream_ > 0)
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@ private:
|
||||
|
||||
boost::shared_ptr<gr::msg_queue> queue_;
|
||||
|
||||
std::shared_ptr<fpga_switch> switch_fpga;
|
||||
std::shared_ptr<Fpga_Switch> switch_fpga;
|
||||
};
|
||||
|
||||
#endif /*GNSS_SDR_AD9361_FPGA_SIGNAL_SOURCE_H_*/
|
||||
|
||||
@@ -72,7 +72,7 @@ CustomUDPSignalSource::CustomUDPSignalSource(ConfigurationInterface* configurati
|
||||
// output item size is always gr_complex
|
||||
item_size_ = sizeof(gr_complex);
|
||||
|
||||
udp_gnss_rx_source_ = gr_complex_ip_packet_source::make(capture_device,
|
||||
udp_gnss_rx_source_ = Gr_Complex_Ip_Packet_Source::make(capture_device,
|
||||
address,
|
||||
port,
|
||||
payload_bytes,
|
||||
|
||||
@@ -97,7 +97,7 @@ private:
|
||||
bool dump_;
|
||||
std::string dump_filename_;
|
||||
std::vector<boost::shared_ptr<gr::block>> null_sinks_;
|
||||
gr_complex_ip_packet_source::sptr udp_gnss_rx_source_;
|
||||
Gr_Complex_Ip_Packet_Source::sptr udp_gnss_rx_source_;
|
||||
std::vector<boost::shared_ptr<gr::block>> file_sink_;
|
||||
boost::shared_ptr<gr::msg_queue> queue_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user