fix rfsimulator UE sync
This commit is contained in:
@@ -124,7 +124,7 @@ int load_lib(openair0_device *device, openair0_config_t *openair0_cfg, eth_param
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
void uhd_set_thread_prio(void) {
|
||||
|
||||
loader_shlibfunc_t shlib_fdesc[1];
|
||||
@@ -135,16 +135,17 @@ void uhd_set_thread_prio(void) {
|
||||
libname="rfsimulator";
|
||||
else
|
||||
libname=OAI_RF_LIBNAME;
|
||||
shlib_fdesc[0].fname="uhd_set_thread_priority";
|
||||
//shlib_fdesc[0].fname="uhd_set_thread_priority";
|
||||
ret=load_module_shlib(libname,shlib_fdesc,1,NULL);
|
||||
if (ret < 0) {
|
||||
LOG_E(HW,"Library %s couldn't be loaded\n",libname);
|
||||
} else {
|
||||
(set_prio_func_t)shlib_fdesc[0].fptr();
|
||||
//(set_prio_func_t)shlib_fdesc[0].fptr();
|
||||
}
|
||||
return ret;
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
int openair0_device_load(openair0_device *device, openair0_config_t *openair0_cfg) {
|
||||
|
||||
|
||||
@@ -447,7 +447,7 @@ int openair0_set_rx_frequencies(openair0_device *device, openair0_config_t *open
|
||||
|
||||
void uhd_set_thread_prio(void);
|
||||
typedef void(*set_prio_func_t)(void);
|
||||
set_prio_func_t uhd_set_thread_priority_fun;
|
||||
//set_prio_func_t uhd_set_thread_priority_fun;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user