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
eeb39917
Commit
eeb39917
authored
Dec 20, 2017
by
Eurecom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lte_sync_time assertFatal added
parent
4c596703
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
openair1/PHY/LTE_ESTIMATION/lte_sync_time.c
openair1/PHY/LTE_ESTIMATION/lte_sync_time.c
+6
-14
No files found.
openair1/PHY/LTE_ESTIMATION/lte_sync_time.c
View file @
eeb39917
...
@@ -356,20 +356,12 @@ int lte_sync_time(int **rxdata, ///rx data in time domain
...
@@ -356,20 +356,12 @@ int lte_sync_time(int **rxdata, ///rx data in time domain
int
length
=
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
*
frame_parms
->
samples_per_tti
>>
1
;
int
length
=
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
*
frame_parms
->
samples_per_tti
>>
1
;
//LOG_D(PHY,"[SYNC TIME] Calling sync_time.\n");
//LOG_D(PHY,"[SYNC TIME] Calling sync_time.\n");
if
(
sync_corr_ue0
==
NULL
)
{
AssertFatal
(
sync_corr_ue0
!=
NULL
,
LOG_E
(
PHY
,
"[SYNC TIME] sync_corr_ue0 not yet allocated! Exiting.
\n
"
);
"sync_corr_ue0 not yet allocated! Exiting.
\n
"
);
return
(
-
1
);
AssertFatal
(
sync_corr_ue1
!=
NULL
,
}
"sync_corr_ue0 not yet allocated! Exiting.
\n
"
);
AssertFatal
(
sync_corr_ue2
!=
NULL
,
if
(
sync_corr_ue1
==
NULL
)
{
"sync_corr_ue0 not yet allocated! Exiting.
\n
"
);
LOG_E
(
PHY
,
"[SYNC TIME] sync_corr_ue1 not yet allocated! Exiting.
\n
"
);
return
(
-
1
);
}
if
(
sync_corr_ue2
==
NULL
)
{
LOG_E
(
PHY
,
"[SYNC TIME] sync_corr_ue2 not yet allocated! Exiting.
\n
"
);
return
(
-
1
);
}
peak_val
=
0
;
peak_val
=
0
;
peak_pos
=
0
;
peak_pos
=
0
;
...
...
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