Commit 20c4a114 authored by Ting-An Lin's avatar Ting-An Lin

Merge copy function

parents 245f8e99 686f3aaa
......@@ -58,9 +58,7 @@ void RCconfig_NbIoTL1(void) {
config_getlist( &NbIoT_L1_ParamList,NbIoT_L1_Params,sizeof(NbIoT_L1_Params)/sizeof(paramdef_t), NULL);
if (NbIoT_L1_ParamList.numelt > 0) {
printf("NbIoT_L1_ParamList.numelt==============================================================\n\n\n");
if (RC.L1_NB_IoT == NULL) {
printf("RC.L1_NB_IoT==============================================================\n\n\n");
RC.L1_NB_IoT = (PHY_VARS_eNB_NB_IoT **)malloc(RC.nb_nb_iot_L1_inst*sizeof(PHY_VARS_eNB_NB_IoT *));
LOG_I(PHY,"RC.L1_NB_IoT = %p\n",RC.L1_NB_IoT);
memset(RC.L1_NB_IoT,0,RC.nb_nb_iot_L1_inst*sizeof(PHY_VARS_eNB_NB_IoT *));
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment