SRSUE: fix typo

master
Xavier Arteaga 5 years ago committed by Xavier Arteaga
parent b9492bbd73
commit bcde542111

@ -41,7 +41,7 @@ public:
void stop();
void add_cell(int pci);
void rem_cell(int pci);
void set_primay_cell(uint32_t earfcn, srslte_cell_t cell);
void set_primary_cell(uint32_t earfcn, srslte_cell_t cell);
void clear_cells();
int get_offset(uint32_t pci);
void write(uint32_t tti, cf_t* data, uint32_t nsamples);

@ -81,7 +81,7 @@ void intra_measure::stop()
srslte_refsignal_dl_sync_free(&refsignal_dl_sync);
}
void intra_measure::set_primay_cell(uint32_t earfcn, srslte_cell_t cell)
void intra_measure::set_primary_cell(uint32_t earfcn, srslte_cell_t cell)
{
this->current_earfcn = earfcn;
current_sflen = (uint32_t)SRSLTE_SF_LEN_PRB(cell.nof_prb);

@ -222,7 +222,7 @@ phy_interface_rrc_lte::cell_search_ret_t sync::cell_search(phy_interface_rrc_lte
case search::CELL_FOUND:
// If a cell is found, configure it, synchronize and measure it
if (set_cell()) {
intra_freq_meas.set_primay_cell(current_earfcn, cell);
intra_freq_meas.set_primary_cell(current_earfcn, cell);
Info("Cell Search: Setting sampling rate and synchronizing SFN...\n");
set_sampling_rate();
@ -327,7 +327,7 @@ bool sync::cell_select(phy_interface_rrc_lte::phy_cell_t* new_cell)
}
/* Reconfigure intra-frequency measurement */
intra_freq_meas.set_primay_cell(current_earfcn, cell);
intra_freq_meas.set_primary_cell(current_earfcn, cell);
}
/* Change sampling rate if necessary */

@ -449,7 +449,7 @@ int main(int argc, char** argv)
logger.set_level(intra_meas_log_level);
intra_measure.init(&common, &rrc, &logger);
intra_measure.set_primay_cell(serving_cell_id, cell_base);
intra_measure.set_primary_cell(serving_cell_id, cell_base);
if (earfcn_dl >= 0) {
// Create radio log

Loading…
Cancel
Save