Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gprshome
openairinterface5G
Commits
59d0cf1c
Commit
59d0cf1c
authored
8 years ago
by
Thomas Laurent
Browse files
Options
Downloads
Patches
Plain Diff
fix T macro calls
parent
2612df9e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/utils/T/T.h
+0
-12
0 additions, 12 deletions
common/utils/T/T.h
targets/RT/USER/lte-ue.c
+1
-1
1 addition, 1 deletion
targets/RT/USER/lte-ue.c
with
1 addition
and
13 deletions
common/utils/T/T.h
+
0
−
12
View file @
59d0cf1c
...
...
@@ -188,12 +188,6 @@ extern T_cache_t *T_cache;
#define T_HEADER(x) \
do { \
if (!__builtin_types_compatible_p(typeof(x), struct T_header *)) { \
printf("%s:%d:%s: " \
"bad use of T, pass a message ID as first parameter\n", \
__FILE__, __LINE__, __FUNCTION__); \
abort(); \
} \
struct timespec T_HEADER_time; \
if (clock_gettime(CLOCK_REALTIME, &T_HEADER_time)) abort(); \
memcpy(T_LOCAL_buf, &T_HEADER_time, sizeof(struct timespec)); \
...
...
@@ -205,12 +199,6 @@ extern T_cache_t *T_cache;
#define T_HEADER(x) \
do { \
if (!__builtin_types_compatible_p(typeof(x), struct T_header *)) { \
printf("%s:%d:%s: " \
"bad use of T, pass a message ID as first parameter\n", \
__FILE__, __LINE__, __FUNCTION__); \
abort(); \
} \
T_PUT_int(1, (int)(uintptr_t)(x)); \
} while (0)
...
...
This diff is collapsed.
Click to expand it.
targets/RT/USER/lte-ue.c
+
1
−
1
View file @
59d0cf1c
...
...
@@ -642,7 +642,7 @@ static void *UE_thread_rxn_txnp4(void *arg) {
AssertFatal
(
pthread_mutex_lock
(
&
proc
->
mutex_rxtx
)
==
0
,
""
);
pthread_cond_wait
(
&
proc
->
cond_rxtx
,
&
proc
->
mutex_rxtx
);
if
(
(
instance_cnt_rxtx
+
proc
->
sub_frame_step
)
%
10
!=
proc
->
subframe_rx
&&
instance_cnt_rxtx
!=-
1
)
LOG_W
(
PHY
,
"REAL TIME NOT MATCHED: missed a sub-frame: expecting %d, got %d
\n
"
,
LOG_W
(
PHY
,
"REAL TIME NOT MATCHED: missed a sub-frame: expecting %
ll
d, got %d
\n
"
,
(
instance_cnt_rxtx
+
proc
->
sub_frame_step
)
%
10
,
proc
->
subframe_rx
);
instance_cnt_rxtx
=
proc
->
subframe_rx
;
AssertFatal
(
pthread_mutex_unlock
(
&
proc
->
mutex_rxtx
)
==
0
,
""
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment