mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
clang-tidy fixes
This commit is contained in:
parent
30a72d5c06
commit
13d8d19679
@ -66,7 +66,7 @@ RawArraySignalSource::RawArraySignalSource(ConfigurationInterface* configuration
|
|||||||
int sampling_freq_;
|
int sampling_freq_;
|
||||||
sampling_freq_ = configuration->property(role + ".sampling_freq", 5000000);
|
sampling_freq_ = configuration->property(role + ".sampling_freq", 5000000);
|
||||||
|
|
||||||
if (item_type_.compare("gr_complex") == 0)
|
if (item_type_ == "gr_complex")
|
||||||
{
|
{
|
||||||
item_size_ = sizeof(gr_complex);
|
item_size_ = sizeof(gr_complex);
|
||||||
raw_array_source_ = gr::dbfcttc::raw_array::make(eth_device_.c_str(), channels_, snapshots_per_frame_, inter_frame_delay_, sampling_freq_);
|
raw_array_source_ = gr::dbfcttc::raw_array::make(eth_device_.c_str(), channels_, snapshots_per_frame_, inter_frame_delay_, sampling_freq_);
|
||||||
@ -97,9 +97,7 @@ RawArraySignalSource::RawArraySignalSource(ConfigurationInterface* configuration
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
RawArraySignalSource::~RawArraySignalSource()
|
RawArraySignalSource::~RawArraySignalSource() = default;
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void RawArraySignalSource::connect(gr::top_block_sptr top_block)
|
void RawArraySignalSource::connect(gr::top_block_sptr top_block)
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef RAW_ARRAY_SIGNAL_SOURCE_H_
|
#ifndef GNSS_SDR_RAW_ARRAY_SIGNAL_SOURCE_H_
|
||||||
#define RAW_ARRAY_SIGNAL_SOURCE_H_
|
#define GNSS_SDR_RAW_ARRAY_SIGNAL_SOURCE_H_
|
||||||
|
|
||||||
#include "gnss_block_interface.h"
|
#include "gnss_block_interface.h"
|
||||||
#include <gnuradio/blocks/file_sink.h>
|
#include <gnuradio/blocks/file_sink.h>
|
||||||
@ -90,4 +90,4 @@ private:
|
|||||||
boost::shared_ptr<gr::msg_queue> queue_;
|
boost::shared_ptr<gr::msg_queue> queue_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*RAW_ARRAY_SIGNAL_SOURCE_H_*/
|
#endif /*GNSS_SDR_RAW_ARRAY_SIGNAL_SOURCE_H_*/
|
||||||
|
@ -169,19 +169,26 @@ if(OS_IS_MACOSX)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_FLEXIBAND AND TELEORBIT_FOUND)
|
if(ENABLE_FLEXIBAND AND TELEORBIT_FOUND)
|
||||||
target_compile_definitions(core_receiver
|
target_link_libraries(core_receiver
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Gnuradio::teleorbit
|
Gnuradio::teleorbit
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_GN3S AND GRGN3S_FOUND)
|
if(ENABLE_GN3S AND GRGN3S_FOUND)
|
||||||
target_compile_definitions(core_receiver
|
target_link_libraries(core_receiver
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Gnuradio::gn3s
|
Gnuradio::gn3s
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(ENABLE_ARRAY AND GRDBFCTTC_FOUND)
|
||||||
|
target_link_libraries(core_receiver
|
||||||
|
PRIVATE
|
||||||
|
Gnuradio::dbfcttc
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(ENABLE_CLANG_TIDY)
|
if(ENABLE_CLANG_TIDY)
|
||||||
if(CLANG_TIDY_EXE)
|
if(CLANG_TIDY_EXE)
|
||||||
set_target_properties(core_receiver
|
set_target_properties(core_receiver
|
||||||
|
Loading…
Reference in New Issue
Block a user