1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-04-28 05:33:20 +00:00

Apply minor cosmetic changes

Two blank lines within methods, for consistency with other files
This commit is contained in:
Carles Fernandez 2021-04-20 09:11:59 +02:00
parent 9a0d4bf5bb
commit 16233d78cc
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 4 additions and 1 deletions

View File

@ -52,6 +52,7 @@ FifoSignalSource::FifoSignalSource(ConfigurationInterface const* configuration,
} }
} }
void FifoSignalSource::connect(gr::top_block_sptr top_block) void FifoSignalSource::connect(gr::top_block_sptr top_block)
{ {
// here we could add a throttle as done in the file_source_base if required // here we could add a throttle as done in the file_source_base if required
@ -62,6 +63,7 @@ void FifoSignalSource::connect(gr::top_block_sptr top_block)
} }
} }
void FifoSignalSource::disconnect(gr::top_block_sptr top_block) void FifoSignalSource::disconnect(gr::top_block_sptr top_block)
{ {
if (dump_) if (dump_)
@ -71,11 +73,13 @@ void FifoSignalSource::disconnect(gr::top_block_sptr top_block)
} }
} }
size_t FifoSignalSource::item_size() size_t FifoSignalSource::item_size()
{ {
return item_size_; return item_size_;
} }
gr::basic_block_sptr FifoSignalSource::get_left_block() gr::basic_block_sptr FifoSignalSource::get_left_block()
{ {
LOG(WARNING) << "Left block of a signal source should not be retrieved"; LOG(WARNING) << "Left block of a signal source should not be retrieved";

View File

@ -49,7 +49,6 @@ private:
//! (gr handles this with public and private header pair) //! (gr handles this with public and private header pair)
FifoReader(const std::string &file_name, const std::string &sample_type); FifoReader(const std::string &file_name, const std::string &sample_type);
size_t read_gr_complex(int noutput_items, gr_vector_void_star &output_items); size_t read_gr_complex(int noutput_items, gr_vector_void_star &output_items);
//! function to read data out of FIFO which is stored as interleaved I/Q stream. //! function to read data out of FIFO which is stored as interleaved I/Q stream.
//! template argument determines sample_type //! template argument determines sample_type