1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-24 22:13:15 +00:00

Fix Notch_Filter and Notch_Filter_Lite input filters

This commit is contained in:
Carles Fernandez 2020-10-28 23:49:55 +01:00
parent 4f1ad9ac29
commit 58269aac2a
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
5 changed files with 2 additions and 22 deletions

View File

@ -15,6 +15,8 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc
- Fixed bug in acquisition detection when the configuration parameter
`Acquisition_XX.threshold` was set but `Acquisition_XX.pfa` was not, causing
false locks.
- Fixed anti-jamming filters: `Pulse_Blanking_Filter`, `Notch_Filter` and
`Notch_Filter_Lite`.
### Improvements in Efficiency:

View File

@ -65,15 +65,6 @@ Notch::Notch(float pfa,
}
void Notch::forecast(int noutput_items __attribute__((unused)), gr_vector_int &ninput_items_required)
{
for (int &aux : ninput_items_required)
{
aux = length_;
}
}
int Notch::general_work(int noutput_items, gr_vector_int &ninput_items __attribute__((unused)),
gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
{

View File

@ -53,8 +53,6 @@ class Notch : public gr::block
public:
~Notch() = default;
void forecast(int noutput_items, gr_vector_int &ninput_items_required);
int general_work(int noutput_items, gr_vector_int &ninput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);

View File

@ -70,15 +70,6 @@ NotchLite::NotchLite(float p_c_factor,
}
void NotchLite::forecast(int noutput_items __attribute__((unused)), gr_vector_int &ninput_items_required)
{
for (int &aux : ninput_items_required)
{
aux = length_;
}
}
int NotchLite::general_work(int noutput_items, gr_vector_int &ninput_items __attribute__((unused)),
gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
{

View File

@ -54,8 +54,6 @@ class NotchLite : public gr::block
public:
~NotchLite() = default;
void forecast(int noutput_items, gr_vector_int &ninput_items_required);
int general_work(int noutput_items, gr_vector_int &ninput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);