Fixed duplicate code and comments

master
Appleman4321 2 years ago committed by Justin Tallon
parent 5dc1356d5c
commit a60589b8ef

@ -58,13 +58,12 @@ typedef struct {
void args_default(prog_args_t* args)
{
args->disable_plots = false;
args->use_standard_lte_rates = false;
args->disable_plots = false;
args->input_file_name = NULL;
args->file_start_sf_idx = 0;
args->nof_rx_antennas = 1;
args->rf_dev = "";
args->rf_dev = "";
args->rf_args = "";
args->rf_freq = 5.92e9;
args->rf_gain = 50;

@ -304,14 +304,14 @@ bool phy::cell_select(phy_cell_t cell)
// Update PCI before starting the background command to make sure PRACH gets the updated value
selected_cell.id = cell.pci;
// Update EARCN before starting the background task to make sure is taken into account when finding carriers to
// Update EARFCN before starting the background task to make sure is taken into account when finding carriers to
// measure inter-frequency neighbours (see set_cells_to_meas)
selected_earfcn = cell.earfcn;
// Indicate workers that cell selection is in progress
common.cell_is_selecting = true;
// Update EARCN before starting the background task to make sure is taken into account when finding carriers to
// Update EARFCN before starting the background task to make sure is taken into account when finding carriers to
// measure inter-frequency neighbours (see set_cells_to_meas)
selected_earfcn = cell.earfcn;

Loading…
Cancel
Save