Fix db to dbm typo

This commit is contained in:
Ismael Gomez 2019-07-30 10:34:34 +02:00
parent 2859a75ca0
commit 069c55f2e5
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ static void fill_res(srslte_chest_dl_t* q, srslte_chest_dl_res_t* res)
} else {
res->snr_ant_port_db[a][port_id] = 0.0;
}
res->rsrp_ant_port_dbm[a][port_id] = db(q->rsrp[a][port_id]);
res->rsrp_ant_port_dbm[a][port_id] = dbm(q->rsrp[a][port_id]);
res->rsrq_ant_port_db[a][port_id] = db(q->cell.nof_prb * q->rsrp[a][port_id] / q->rssi[a][port_id]);
}
}