mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-29 22:42:59 +00:00
Fix Notch_Filter and Notch_Filter_Lite input filters
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user