initialize variables

This commit is contained in:
Andre Puschmann 2018-01-14 20:52:57 +01:00
parent cf5ed07cdb
commit f948a75b55
2 changed files with 4 additions and 0 deletions

View File

@ -339,6 +339,9 @@ void phch_common::reset() {
rx_gain_offset = 0;
sr_last_tx_tti = -1;
cur_pusch_power = 0;
avg_rsrp = 0;
avg_rsrp_dbm = 0;
avg_rsrq_db = 0;
pcell_meas_enabled = false;
pcell_report_period = 20;

View File

@ -52,6 +52,7 @@ phch_recv::phch_recv() {
dl_freq = -1;
ul_freq = -1;
bzero(&cell, sizeof(srslte_cell_t));
bzero(&metrics, sizeof(sync_metrics_t));
running = false;
worker_com = NULL;
}