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
c3d927ad
Commit
c3d927ad
authored
Apr 01, 2020
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
c43db483
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
+3
-3
No files found.
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
View file @
c3d927ad
...
...
@@ -643,12 +643,12 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp ptimestamp,
uhd
::
stream_cmd_t
stream_cmd
(
uhd
::
stream_cmd_t
::
STREAM_MODE_NUM_SAMPS_AND_DONE
);
stream_cmd
.
num_samps
=
nsamps
;
stream_cmd
.
stream_now
=
false
;
stream_cmd
.
time_spec
=
uhd
::
time_spec_t
(
ptimestamp
,
s
->
sample_rate
);
stream_cmd
.
time_spec
=
uhd
::
time_spec_t
::
from_ticks
(
ptimestamp
,
s
->
sample_rate
);
s
->
rx_stream
->
issue_stream_cmd
(
stream_cmd
);
LOG_I
(
HW
,
"Time in ticks now: %ll
u
\n
"
,
s
->
usrp
->
get_time_now
().
to_ticks
(
s
->
sample_rate
));
LOG_I
(
HW
,
"rx_timestamp in ticks: %ll
u
\n
"
,
ptimestamp
);
LOG_I
(
HW
,
"Time in ticks now: %ll
d
\n
"
,
s
->
usrp
->
get_time_now
().
to_ticks
(
s
->
sample_rate
));
LOG_I
(
HW
,
"rx_timestamp in ticks: %ll
d
\n
"
,
ptimestamp
);
if
(
cc
>
1
)
{
// receive multiple channels (e.g. RF A and RF B)
...
...
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