BladeRF & ZMQ: more fixes

master
Xavier Arteaga 5 years ago committed by Xavier Arteaga
parent 4f83c27e93
commit f057e9ae67

@ -58,7 +58,7 @@ const unsigned int buffer_size_tx = 1024;
const unsigned int num_transfers = 32;
const unsigned int timeout_ms = 4000;
char* rf_blade_devname(UNUSED void* h)
const char* rf_blade_devname(UNUSED void* h)
{
return DEVNAME;
}

@ -30,7 +30,7 @@ SRSLTE_API int rf_blade_open(char *args,
SRSLTE_API int rf_blade_open_multi(char *args,
void **handler, uint32_t nof_channels);
SRSLTE_API char* rf_blade_devname(void *h);
SRSLTE_API const char* rf_blade_devname(void* h);
SRSLTE_API int rf_blade_close(void *h);

@ -157,12 +157,12 @@ int rf_zmq_rx_open(rf_zmq_rx_t* q, char* id, void* zmq_ctx, char* sock_args)
goto clean_exit;
}
q->running = true;
if (pthread_create(&q->thread, NULL, rf_zmq_async_rx_thread, q)) {
fprintf(stderr, "Error: creating thread\n");
goto clean_exit;
}
q->running = true;
ret = SRSLTE_SUCCESS;
}

Loading…
Cancel
Save