remove unused function

master
Ismael Gomez 7 years ago
parent be7f247ad7
commit 7e29430c81

@ -67,8 +67,6 @@ public:
int read_pdsch_d(cf_t *pdsch_d); int read_pdsch_d(cf_t *pdsch_d);
void start_plot(); void start_plot();
float get_ref_cfo();
private: private:
/* Inherited from thread_pool::worker. Function called every subframe to run the DL/UL processing */ /* Inherited from thread_pool::worker. Function called every subframe to run the DL/UL processing */
void work_imp(); void work_imp();

@ -1256,7 +1256,7 @@ int phch_recv::scell_recv::find_cells(cf_t *input_buffer, float rx_gain_offset,
srslte_sync_reset(&sync_find); srslte_sync_reset(&sync_find);
srslte_sync_cfo_reset(&sync_find); srslte_sync_cfo_reset(&sync_find);
int sf5_cnt=0; uint32_t sf5_cnt=0;
do { do {
sync_res = srslte_sync_find(&sync_find, input_buffer, sf5_cnt*5*sf_len, &peak_idx); sync_res = srslte_sync_find(&sync_find, input_buffer, sf5_cnt*5*sf_len, &peak_idx);
} while(sync_res != SRSLTE_SYNC_FOUND && sf5_cnt < nof_sf/5); } while(sync_res != SRSLTE_SYNC_FOUND && sf5_cnt < nof_sf/5);

@ -141,10 +141,6 @@ bool phch_worker::init(uint32_t max_prb, srslte::log *log_h, chest_feedback_itf
return true; return true;
} }
float phch_worker::get_ref_cfo() {
return srslte_chest_dl_get_cfo(&ue_dl.chest);
}
bool phch_worker::set_cell(srslte_cell_t cell_) bool phch_worker::set_cell(srslte_cell_t cell_)
{ {
if (cell.id != cell_.id || !cell_initiated) { if (cell.id != cell_.id || !cell_initiated) {

Loading…
Cancel
Save