minor printf edits

master
Ismael Gomez 8 years ago
parent 59aea904ea
commit c106cd402c

@ -1098,7 +1098,7 @@ int srslte_dci_msg_pack_pdsch(srslte_ra_dl_dci_t *data, srslte_dci_format_t form
case SRSLTE_DCI_FORMAT1C:
return dci_format1Cs_pack(data, msg, nof_prb);
default:
fprintf(stderr, "DCI pack pdsch: Invalid DCI format %s in \n",
fprintf(stderr, "DCI pack pdsch: Invalid DCI format %s\n",
srslte_dci_format_string(format));
return SRSLTE_ERROR;
}

@ -607,7 +607,7 @@ int srslte_pdcch_encode(srslte_pdcch_t *q, srslte_dci_msg_t *msg, srslte_dci_loc
ret = SRSLTE_SUCCESS;
} else {
fprintf(stderr, "Illegal DCI message nCCE: %d, L: %d, nof_cce: %d\n", location.ncce, location.L, q->nof_cce);
fprintf(stderr, "Illegal DCI message nCCE: %d, L: %d, nof_cce: %d, nof_bits=%d\n", location.ncce, location.L, q->nof_cce, msg->nof_bits);
}
} else {
fprintf(stderr, "Invalid parameters: cfi=%d, L=%d, nCCE=%d\n", cfi, location.L, location.ncce);

Loading…
Cancel
Save