-Solving some of warning
"implicit declaration of function" "incompatible pointer type'
This commit is contained in:
@@ -926,9 +926,9 @@ void init_gNB(int single_thread_flag,int wait_for_sync) {
|
||||
#endif
|
||||
|
||||
LOG_I(PHY,"Registering with MAC interface module\n");
|
||||
AssertFatal((gNB->if_inst = IF_Module_init(inst))!=NULL,"Cannot register interface");
|
||||
AssertFatal((gNB->if_inst = NR_IF_Module_init(inst))!=NULL,"Cannot register interface");
|
||||
gNB->if_inst->schedule_response = schedule_response;
|
||||
gNB->if_inst->PHY_config_req = phy_config_request;
|
||||
gNB->if_inst->PHY_config_req = nr_phy_config_request;
|
||||
nr_phy_config_request(gNB);
|
||||
memset((void*)&gNB->UL_INFO,0,sizeof(gNB->UL_INFO));
|
||||
memset((void*)&gNB->Sched_INFO,0,sizeof(gNB->Sched_INFO));
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
#include "LAYER2/MAC/mac_proto.h"
|
||||
#include "RRC/LTE/rrc_vars.h"
|
||||
#include "PHY_INTERFACE/phy_interface_vars.h"
|
||||
|
||||
#include "gnb_config.h"
|
||||
#ifdef SMBV
|
||||
#include "PHY/TOOLS/smbv.h"
|
||||
unsigned short config_frames[4] = {2,9,11,13};
|
||||
|
||||
Reference in New Issue
Block a user