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
wangjie
OpenXG-RAN
Commits
d2752d0d
Commit
d2752d0d
authored
Apr 21, 2021
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR_UE: fix allocation of txdataF_layers
Each element is sizeof(int32_t), not sizeof(int32_t *).
parent
b546e644
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+1
-1
No files found.
openair1/PHY/INIT/nr_init_ue.c
View file @
d2752d0d
...
...
@@ -123,7 +123,7 @@ void phy_init_nr_ue_PUSCH(NR_UE_PUSCH *const pusch,
AssertFatal
(
pusch
,
"pusch==0"
);
for
(
int
i
=
0
;
i
<
NR_MAX_NB_LAYERS
;
i
++
)
{
pusch
->
txdataF_layers
[
i
]
=
(
int32_t
*
)
malloc16_clear
(
(
NR_MAX_PUSCH_ENCODED_LENGTH
)
*
sizeof
(
int32_t
*
));
pusch
->
txdataF_layers
[
i
]
=
(
int32_t
*
)
malloc16_clear
(
NR_MAX_PUSCH_ENCODED_LENGTH
*
sizeof
(
int32_t
));
}
}
...
...
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