Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
3df49ea6
Commit
3df49ea6
authored
Sep 06, 2020
by
Michael Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change some printf statements to LOG_I
The printfs were mangling the log.
parent
1e1a4dbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
executables/main-ocp.c
executables/main-ocp.c
+2
-2
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/config.c
+1
-1
No files found.
executables/main-ocp.c
View file @
3df49ea6
...
@@ -1065,14 +1065,14 @@ void init_pdcp(void) {
...
@@ -1065,14 +1065,14 @@ void init_pdcp(void) {
}
}
static
void
wait_nfapi_init
(
char
*
thread_name
)
{
static
void
wait_nfapi_init
(
char
*
thread_name
)
{
printf
(
"waiting for NFAPI PNF connection and population of global structure (%s)
\n
"
,
thread_name
);
LOG_I
(
ENB_APP
,
"waiting for NFAPI PNF connection and population of global structure (%s)
\n
"
,
thread_name
);
pthread_mutex_lock
(
&
nfapi_sync_mutex
);
pthread_mutex_lock
(
&
nfapi_sync_mutex
);
while
(
nfapi_sync_var
<
0
)
while
(
nfapi_sync_var
<
0
)
pthread_cond_wait
(
&
nfapi_sync_cond
,
&
nfapi_sync_mutex
);
pthread_cond_wait
(
&
nfapi_sync_cond
,
&
nfapi_sync_mutex
);
pthread_mutex_unlock
(
&
nfapi_sync_mutex
);
pthread_mutex_unlock
(
&
nfapi_sync_mutex
);
printf
(
"NFAPI: got sync (%s)
\n
"
,
thread_name
);
LOG_I
(
ENB_APP
,
"NFAPI: got sync (%s)
\n
"
,
thread_name
);
}
}
void
terminate_task
(
module_id_t
mod_id
,
task_id_t
from
,
task_id_t
to
)
{
void
terminate_task
(
module_id_t
mod_id
,
task_id_t
from
,
task_id_t
to
)
{
...
...
openair2/LAYER2/MAC/config.c
View file @
3df49ea6
...
@@ -1048,7 +1048,7 @@ int rrc_mac_config_req_eNB(module_id_t Mod_idP,
...
@@ -1048,7 +1048,7 @@ int rrc_mac_config_req_eNB(module_id_t Mod_idP,
while
(
RC
.
mac
[
Mod_idP
]
->
if_inst
->
PHY_config_req
==
NULL
)
{
while
(
RC
.
mac
[
Mod_idP
]
->
if_inst
->
PHY_config_req
==
NULL
)
{
// DJP AssertFatal(RC.mac[Mod_idP]->if_inst->PHY_config_req != NULL,"if_inst->phy_config_request is null\n");
// DJP AssertFatal(RC.mac[Mod_idP]->if_inst->PHY_config_req != NULL,"if_inst->phy_config_request is null\n");
usleep
(
100
*
1000
);
usleep
(
100
*
1000
);
printf
(
"Waiting for PHY_config_req
\n
"
);
LOG_I
(
MAC
,
"Waiting for PHY_config_req
\n
"
);
}
}
}
}
...
...
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