Fix initial buffer data and removed unimplemented method

master
Xavier Arteaga 3 years ago committed by Xavier Arteaga
parent a9591f1d45
commit 57b50edbe2

@ -49,8 +49,6 @@ public:
bool start(const cfg_t& cfg);
ret_t run_slot(const cf_t* buffer, uint32_t slot_sz);
void reset();
private:
srslog::basic_logger& logger;
srsran_ssb_t ssb = {};

@ -215,6 +215,11 @@ void sync_sa::run_state_idle()
void sync_sa::run_state_cell_search()
{
// Initialise buffer
if (cell_search_nof_trials == 0) {
srsran_vec_cf_zero(rx_buffer, slot_sz);
}
// Receive samples
srsran::rf_buffer_t rf_buffer = {};
rf_buffer.set_nof_samples(slot_sz);

Loading…
Cancel
Save