aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/receiver/receiver_impl.cc7
-rw-r--r--lib/receiver/receiver_impl.h3
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/receiver/receiver_impl.cc b/lib/receiver/receiver_impl.cc
index c88740a..bd4f182 100644
--- a/lib/receiver/receiver_impl.cc
+++ b/lib/receiver/receiver_impl.cc
@@ -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];
diff --git a/lib/receiver/receiver_impl.h b/lib/receiver/receiver_impl.h
index bc11879..375c952 100644
--- a/lib/receiver/receiver_impl.h
+++ b/lib/receiver/receiver_impl.h
@@ -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(