mirror of https://github.com/PentHertz/srsLTE.git
pssch: fix uninitialized value
This commit is contained in:
parent
50b7d3937f
commit
2ace2b47b8
|
@ -201,6 +201,8 @@ int srsran_pssch_init(srsran_pssch_t* q,
|
||||||
ERROR("Error allocating memory");
|
ERROR("Error allocating memory");
|
||||||
return SRSRAN_ERROR;
|
return SRSRAN_ERROR;
|
||||||
}
|
}
|
||||||
|
srsran_vec_cf_zero(q->scfdma_symbols, q->nof_data_symbols * SRSRAN_NRE * SRSRAN_MAX_PRB);
|
||||||
|
|
||||||
if (srsran_dft_precoding_init(&q->dft_precoder, SRSRAN_MAX_PRB, true)) {
|
if (srsran_dft_precoding_init(&q->dft_precoder, SRSRAN_MAX_PRB, true)) {
|
||||||
ERROR("Error DFT precoder init");
|
ERROR("Error DFT precoder init");
|
||||||
return SRSRAN_ERROR;
|
return SRSRAN_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue