Laurent's change: bugfix in usrp lib

This commit is contained in:
Sakthivel Velumani
2021-04-16 18:54:35 +02:00
parent 3e411abb7c
commit 6f7a3fdcd2
+2 -1
View File
@@ -597,7 +597,8 @@ int trx_usrp_write_init(openair0_device *device){
write_thread->end = 0;
write_thread->count_write = 0;
printf("end of tx write thread\n");
pthread_mutex_init(&write_thread->mutex_write, NULL);
pthread_cond_init(&write_thread->cond_write, NULL);
pthread_create(&write_thread->pthread_write,NULL,trx_usrp_write_thread,(void *)device);
return(0);