mirror of https://github.com/PentHertz/srsLTE.git
Fix segfault in qam64 test
This commit is contained in:
parent
3fe6961483
commit
07e0f06abb
|
@ -77,8 +77,6 @@ typedef struct SRSLTE_API {
|
|||
|
||||
srslte_uci_cqi_pusch_t uci_cqi;
|
||||
|
||||
uint8_t temp_data[6000];
|
||||
|
||||
} srslte_sch_t;
|
||||
|
||||
SRSLTE_API int srslte_sch_init(srslte_sch_t *q);
|
||||
|
|
|
@ -434,9 +434,6 @@ static int decode_tb(srslte_sch_t *q,
|
|||
|
||||
srslte_tdec_decision_byte(&q->decoder, q->cb_in, cb_len);
|
||||
|
||||
if (i == 9) {
|
||||
srslte_tdec_decision(&q->decoder, q->temp_data, cb_len);
|
||||
}
|
||||
/* Check Codeblock CRC and stop early if incorrect */
|
||||
if (!srslte_crc_checksum_byte(crc_ptr, q->cb_in, len_crc)) {
|
||||
early_stop = true;
|
||||
|
|
|
@ -230,9 +230,6 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
|
|||
if (nlhs >= 6) {
|
||||
mexutils_write_s(softbuffer.buffer_f[9], &plhs[5], 16908, 1);
|
||||
}
|
||||
if (nlhs >= 7) {
|
||||
mexutils_write_uint8(pdsch.dl_sch.temp_data, &plhs[6], 5632, 1);
|
||||
}
|
||||
|
||||
srslte_chest_dl_free(&chest);
|
||||
srslte_pdsch_free(&pdsch);
|
||||
|
|
Loading…
Reference in New Issue