Minor fix2

This commit is contained in:
yilmazt
2018-08-17 15:26:22 +02:00
parent 48bd667b67
commit 866c2fedc8
+1 -1
View File
@@ -205,7 +205,7 @@ uint8_t nr_generate_dci_top(NR_gNB_PDCCH pdcch_vars,
//channel coding
#ifdef DEBUG_POLAR_PARAMS
nr_polar_init(nrPolar_params, NR_POLAR_DCI_MESSAGE_TYPE, dci_alloc.size, dci_alloc.L);
t_nrPolar_paramsPtr currentPtr = nr_polar_params(nrPolar_params, NR_POLAR_DCI_MESSAGE_TYPE,dci_alloc.size);
t_nrPolar_paramsPtr currentPtr = nr_polar_params(*nrPolar_params, NR_POLAR_DCI_MESSAGE_TYPE, dci_alloc.size);
uint8_t *encoderInput = malloc(sizeof(uint8_t) * dci_alloc.size);
uint8_t *encoderOutput = malloc(sizeof(uint8_t) * currentPtr->encoderLength);