mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-31 03:14:56 +00:00
Fix building with new GNU Radio firdes API. No functional change, since WIN_HAMMING is the default
This commit is contained in:
parent
a9de3d4244
commit
42efb68310
@ -55,8 +55,7 @@ MmseResamplerConditioner::MmseResamplerConditioner(
|
||||
std::vector<float> taps = gr::filter::firdes::low_pass(1.0,
|
||||
sample_freq_in_,
|
||||
sample_freq_out_ / 2.1,
|
||||
sample_freq_out_ / 5,
|
||||
gr::filter::firdes::win_type::WIN_HAMMING);
|
||||
sample_freq_out_ / 5);
|
||||
std::cout << "Enabled fractional resampler low pass filter with " << taps.size() << " taps\n";
|
||||
fir_filter_ccf_ = gr::filter::fir_filter_ccf::make(1, taps);
|
||||
|
||||
|
@ -464,8 +464,7 @@ void GNSSFlowgraph::connect()
|
||||
std::vector<float> taps = gr::filter::firdes::low_pass(1.0,
|
||||
fs,
|
||||
acq_fs_decimated / 2.1,
|
||||
acq_fs_decimated / 2,
|
||||
gr::filter::firdes::win_type::WIN_HAMMING);
|
||||
acq_fs_decimated / 2);
|
||||
|
||||
gr::basic_block_sptr fir_filter_ccf_ = gr::filter::fir_filter_ccf::make(decimation, taps);
|
||||
|
||||
|
@ -544,8 +544,7 @@ bool HybridObservablesTest::acquire_signal()
|
||||
taps = gr::filter::firdes::low_pass(1.0,
|
||||
baseband_sampling_freq,
|
||||
acq_fs / 2.1,
|
||||
acq_fs / 10,
|
||||
gr::filter::firdes::win_type::WIN_HAMMING);
|
||||
acq_fs / 10);
|
||||
std::cout << "Enabled decimation low pass filter with " << taps.size() << " taps and decimation factor of " << decimation << '\n';
|
||||
acquisition->set_resampler_latency((taps.size() - 1) / 2);
|
||||
gr::basic_block_sptr fir_filter_ccf_ = gr::filter::fir_filter_ccf::make(decimation, taps);
|
||||
|
@ -558,8 +558,7 @@ bool TrackingPullInTest::acquire_signal(int SV_ID)
|
||||
taps = gr::filter::firdes::low_pass(1.0,
|
||||
baseband_sampling_freq,
|
||||
acq_fs / 2.1,
|
||||
acq_fs / 10,
|
||||
gr::filter::firdes::win_type::WIN_HAMMING);
|
||||
acq_fs / 10);
|
||||
std::cout << "Enabled decimation low pass filter with " << taps.size() << " taps and decimation factor of " << decimation << '\n';
|
||||
acquisition->set_resampler_latency((taps.size() - 1) / 2);
|
||||
gr::basic_block_sptr fir_filter_ccf_ = gr::filter::fir_filter_ccf::make(decimation, taps);
|
||||
|
Loading…
Reference in New Issue
Block a user