mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-12-18 06:18:05 +00:00
Fix typos detected by codespell
This commit is contained in:
@@ -34,7 +34,7 @@ FifoSignalSource::FifoSignalSource(ConfigurationInterface const* configuration,
|
||||
std::string const& role, unsigned int in_streams, unsigned int out_streams,
|
||||
[[maybe_unused]] Concurrent_Queue<pmt::pmt_t>* queue)
|
||||
: SignalSourceBase(configuration, role, "Fifo_Signal_Source"s),
|
||||
item_size_(sizeof(gr_complex)), // currenty output item size is always gr_complex
|
||||
item_size_(sizeof(gr_complex)), // currently output item size is always gr_complex
|
||||
fifo_reader_(FifoReader::make(configuration->property(role + ".filename", "./example_capture.dat"s),
|
||||
configuration->property(role + ".sample_type", "ishort"s))),
|
||||
dump_(configuration->property(role + ".dump", false)),
|
||||
|
||||
@@ -93,7 +93,7 @@ private:
|
||||
|
||||
double rf_gain_rx1_;
|
||||
double rf_gain_rx2_;
|
||||
uint64_t freq_; // frequency of local oscilator
|
||||
uint64_t freq_; // frequency of local oscillator
|
||||
uint64_t sample_rate_;
|
||||
uint64_t bandwidth_;
|
||||
uint64_t buffer_size_; // reception buffer
|
||||
|
||||
@@ -87,7 +87,7 @@ private:
|
||||
std::string item_type_;
|
||||
double rf_gain_;
|
||||
int64_t samples_;
|
||||
uint64_t freq_; // frequency of local oscilator
|
||||
uint64_t freq_; // frequency of local oscillator
|
||||
uint64_t sample_rate_;
|
||||
uint64_t bandwidth_;
|
||||
uint64_t buffer_size_; // reception buffer
|
||||
|
||||
@@ -319,7 +319,7 @@ void rtl_tcp_signal_source_c::handle_read(const boost::system::error_code &ec,
|
||||
unread_++;
|
||||
}
|
||||
}
|
||||
// let woker know that more data is available
|
||||
// let worker know that more data is available
|
||||
not_empty_.notify_one();
|
||||
// Read some more
|
||||
#if USE_BOOST_BIND_PLACEHOLDERS
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* The implementation of this block is a combination of various helpful
|
||||
* sources. The data format and command structure is taken from the
|
||||
* original Osmocom rtl_tcp_source_f (https://git.osmocom.org/gr-osmosdr).
|
||||
* The aynchronous reading code comes from the examples provides
|
||||
* The asynchronous reading code comes from the examples provides
|
||||
* by Boost.Asio and the bounded buffer producer-consumer solution is
|
||||
* taken from the Boost.CircularBuffer examples (https://www.boost.org/).
|
||||
*
|
||||
|
||||
@@ -137,7 +137,7 @@ void Fpga_dynamic_bit_selection::bit_selection_per_rf_band(volatile unsigned *d_
|
||||
}
|
||||
}
|
||||
|
||||
// update bit selection corresopnding to frequency band 1
|
||||
// update bit selection corresponding to frequency band 1
|
||||
d_map_base[0] = shift_out_bits;
|
||||
}
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ template <typename WT>
|
||||
void IONGSMSChunkData::unpack_words(gr_vector_void_star& outputs, std::vector<int>& output_items)
|
||||
{
|
||||
WT* data = static_cast<WT*>(buffer_);
|
||||
// TODO - Swap endiannes if needed
|
||||
// TODO - Swap endianness if needed
|
||||
|
||||
IONGSMSChunkUnpackingCtx<WT> ctx{
|
||||
chunk_.Shift(),
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class PpsSamplestamp
|
||||
{
|
||||
public:
|
||||
uint64_t samplestamp = 0; // PPS rising edge samples counter from the beginning of rx stream opperation. Notice that it is reseted to zero if sample buffer overflow is detected on the FPGA side
|
||||
uint64_t samplestamp = 0; // PPS rising edge samples counter from the beginning of rx stream operation. Notice that it is reset to zero if sample buffer overflow is detected on the FPGA side
|
||||
uint32_t overflow_reg = 0; // >0 indicates overflow situation in the FPGA RX buffer
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user