initialize and reset avg_noise in phch_common

This commit is contained in:
Andre Puschmann 2019-01-22 21:49:37 +01:00
parent c782ef2aa5
commit 61f3a55bc5
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,7 @@ phch_common::phch_common(uint32_t max_workers) : tx_sem(max_workers)
rx_gain_offset = 0;
last_ri = 0;
last_pmi = 0;
avg_noise = NAN;
avg_noise = 0;
//have_mtch_stop = false;
bzero(&dl_metrics, sizeof(dl_metrics_t));
@ -364,6 +364,7 @@ void phch_common::reset() {
avg_rsrp_dbm = 0;
avg_rsrq_db = 0;
avg_ri = 0;
avg_noise = 0;
pcell_report_period = 20;