mirror of https://github.com/PentHertz/srsLTE.git
initialize variables
This commit is contained in:
parent
cf5ed07cdb
commit
f948a75b55
|
@ -339,6 +339,9 @@ void phch_common::reset() {
|
||||||
rx_gain_offset = 0;
|
rx_gain_offset = 0;
|
||||||
sr_last_tx_tti = -1;
|
sr_last_tx_tti = -1;
|
||||||
cur_pusch_power = 0;
|
cur_pusch_power = 0;
|
||||||
|
avg_rsrp = 0;
|
||||||
|
avg_rsrp_dbm = 0;
|
||||||
|
avg_rsrq_db = 0;
|
||||||
|
|
||||||
pcell_meas_enabled = false;
|
pcell_meas_enabled = false;
|
||||||
pcell_report_period = 20;
|
pcell_report_period = 20;
|
||||||
|
|
|
@ -52,6 +52,7 @@ phch_recv::phch_recv() {
|
||||||
dl_freq = -1;
|
dl_freq = -1;
|
||||||
ul_freq = -1;
|
ul_freq = -1;
|
||||||
bzero(&cell, sizeof(srslte_cell_t));
|
bzero(&cell, sizeof(srslte_cell_t));
|
||||||
|
bzero(&metrics, sizeof(sync_metrics_t));
|
||||||
running = false;
|
running = false;
|
||||||
worker_com = NULL;
|
worker_com = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue