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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
68856682
Commit
68856682
authored
Feb 01, 2021
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix AssertFatal in replay_node when file size is not a multiple of block size
parent
62bc47c8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+2
-2
targets/ARCH/rfsimulator/stored_node.c
targets/ARCH/rfsimulator/stored_node.c
+4
-1
No files found.
cmake_targets/CMakeLists.txt
View file @
68856682
targets/ARCH/rfsimulator/stored_node.c
View file @
68856682
...
...
@@ -200,7 +200,10 @@ int main(int argc, char *argv[]) {
int
bufSize
=
100000
;
void
*
buff
=
malloc
(
bufSize
);
uint64_t
timestamp
=
0
;
const
int
blockSize
=
1000
;
const
int
blockSize
=
1920
;
// If fileSize is not multiple of blockSize*4 then discard remaining samples
fileSize
=
(
fileSize
/
(
blockSize
<<
2
))
*
(
blockSize
<<
2
);
while
(
1
)
{
//Rewind the file to loop on the samples
...
...
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