mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-12 19:20:32 +00:00
Update Flexiband_Signal_Source to admit modern GNU Radio versions
This commit is contained in:
parent
2b62694c0b
commit
7e79945529
@ -38,6 +38,7 @@ set(TELEORBIT_ROOT_USER_DEFINED
|
||||
find_path(TELEORBIT_INCLUDE_DIRS
|
||||
NAMES teleorbit/api.h
|
||||
HINTS ${PC_TELEORBIT_INCLUDEDIR}
|
||||
PATH_SUFFIXES gnuradio
|
||||
PATHS ${TELEORBIT_ROOT_USER_DEFINED}/include
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
|
@ -34,7 +34,7 @@ FlexibandSignalSource::FlexibandSignalSource(const ConfigurationInterface* confi
|
||||
Concurrent_Queue<pmt::pmt_t>* queue __attribute__((unused)))
|
||||
: SignalSourceBase(configuration, role, "Flexiband_Signal_Source"s), in_stream_(in_stream), out_stream_(out_stream)
|
||||
{
|
||||
const std::string default_item_type("byte");
|
||||
const std::string default_item_type("gr_complex");
|
||||
item_type_ = configuration->property(role + ".item_type", default_item_type);
|
||||
|
||||
const std::string default_firmware_file("flexiband_I-1b.bit");
|
||||
|
@ -66,10 +66,10 @@ public:
|
||||
gr::basic_block_sptr get_right_block(int RF_channel) override;
|
||||
|
||||
private:
|
||||
boost::shared_ptr<gr::block> flexiband_source_;
|
||||
gnss_shared_ptr<gr::block> flexiband_source_;
|
||||
|
||||
std::vector<boost::shared_ptr<gr::block>> char_to_float;
|
||||
std::vector<boost::shared_ptr<gr::block>> float_to_complex_;
|
||||
std::vector<gnss_shared_ptr<gr::block>> char_to_float;
|
||||
std::vector<gnss_shared_ptr<gr::block>> float_to_complex_;
|
||||
std::vector<gr::blocks::null_sink::sptr> null_sinks_;
|
||||
|
||||
std::string item_type_;
|
||||
|
Loading…
Reference in New Issue
Block a user