receiver: removed redundant parameter from synchronized_handler

Change-Id: I64862f60eecadd60580a117ab865ea597eaad30b
This commit is contained in:
Piotr Krysik 2019-07-17 10:26:00 +02:00
parent 9e861d7017
commit 59257a11a3
2 changed files with 5 additions and 5 deletions

View File

@ -183,7 +183,7 @@ namespace gr
sch_search_handler(input, noutput_items);
break;
case synchronized:
synchronized_handler(input, input_items, noutput_items);
synchronized_handler(input_items, noutput_items);
break;
}
@ -295,13 +295,14 @@ namespace gr
}
void
receiver_impl::synchronized_handler(gr_complex *input,
gr_vector_const_void_star &input_items, int noutput_items)
receiver_impl::synchronized_handler(gr_vector_const_void_star &input_items,
int noutput_items)
{
/**
* In this state receiver is synchronized and it processes
* bursts according to burst type for given burst number
*/
gr_complex *input = (gr_complex *) input_items[0];
std::vector<gr_complex> channel_imp_resp(CHAN_IMP_RESP_LENGTH * d_OSR);
size_t inputs_to_process = d_cell_allocation.size();
unsigned char output_binary[BURST_SIZE];

View File

@ -209,6 +209,7 @@ namespace gr {
/* State machine handlers */
void fcch_search_handler(gr_complex *input, int noutput_items);
void sch_search_handler(gr_complex *input, int noutput_items);
void synchronized_handler(gr_vector_const_void_star &input_items, int noutput_items);
uint64_t get_offset_before_resampler(uint64_t offset){
std::vector<tag_t> original_ofsets;
@ -222,8 +223,6 @@ namespace gr {
}
return offset_before_resampler;
};
void synchronized_handler(gr_complex *input,
gr_vector_const_void_star &input_items, int noutput_items);
public:
receiver_impl(