|
|
@ -79,11 +79,11 @@ free_and_exit:
|
|
|
|
return ret;
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int srslte_rf_recv_wrapper_cs(void* h, cf_t* data[SRSLTE_MAX_CHANNELS], uint32_t nsamples, srslte_timestamp_t* t)
|
|
|
|
int srslte_rf_recv_wrapper_cs(void* h, cf_t* data[SRSLTE_MAX_PORTS], uint32_t nsamples, srslte_timestamp_t* t)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
DEBUG(" ---- Receive %d samples ---- \n", nsamples);
|
|
|
|
DEBUG(" ---- Receive %d samples ---- \n", nsamples);
|
|
|
|
void* ptr[SRSLTE_MAX_CHANNELS];
|
|
|
|
void* ptr[SRSLTE_MAX_CHANNELS] = {};
|
|
|
|
for (int i = 0; i < SRSLTE_MAX_CHANNELS; i++) {
|
|
|
|
for (int i = 0; i < SRSLTE_MAX_PORTS; i++) {
|
|
|
|
ptr[i] = data[i];
|
|
|
|
ptr[i] = data[i];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return srslte_rf_recv_with_time_multi(h, ptr, nsamples, 1, NULL, NULL);
|
|
|
|
return srslte_rf_recv_with_time_multi(h, ptr, nsamples, 1, NULL, NULL);
|
|
|
|