Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
f93acd22
Commit
f93acd22
authored
Dec 26, 2019
by
Ting-An Lin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Samuel warning
parent
0f54bf27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
openair2/ENB_APP/NB_IoT_config.c
openair2/ENB_APP/NB_IoT_config.c
+2
-0
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+2
-3
No files found.
openair2/ENB_APP/NB_IoT_config.c
View file @
f93acd22
...
...
@@ -58,7 +58,9 @@ 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
*
));
...
...
targets/RT/USER/lte-enb.c
View file @
f93acd22
...
...
@@ -867,10 +867,9 @@ void init_eNB_proc(int inst) {
pthread_attr_t
*
attr_prach_br
=
NULL
;
#endif
LOG_I
(
PHY
,
"%s(inst:%d) RC.nb_CC[inst]:%d
\n
"
,
__FUNCTION__
,
inst
,
RC
.
nb_CC
[
inst
]);
eNBs
.
eNB_NB_IoT
=
&
RC
.
L1_NB_IoT
[
inst
];
//Ann
eNBs
.
eNB_NB_IoT
=
RC
.
L1_NB_IoT
[
inst
];
//Ann
for
(
CC_id
=
0
;
CC_id
<
RC
.
nb_CC
[
inst
];
CC_id
++
)
{
eNBs
.
eNB
=
&
RC
.
eNB
[
inst
][
CC_id
];
eNBs
.
eNB
=
RC
.
eNB
[
inst
][
CC_id
];
#ifndef OCP_FRAMEWORK
LOG_I
(
PHY
,
"Initializing eNB processes instance:%d CC_id %d
\n
"
,
inst
,
CC_id
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment