Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
srsLTE
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
Container registry
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christoph Weigand
srsLTE
Commits
cbb7e3ce
Commit
cbb7e3ce
authored
8 years ago
by
Ismael Gomez
Browse files
Options
Downloads
Patches
Plain Diff
fix for UHD 3.11 logging
parent
c49a2997
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
srslte/lib/rf/uhd_c_api.cpp
+4
-0
4 additions, 0 deletions
srslte/lib/rf/uhd_c_api.cpp
with
4 additions
and
0 deletions
srslte/lib/rf/uhd_c_api.cpp
+
4
−
0
View file @
cbb7e3ce
...
...
@@ -9,6 +9,7 @@ extern "C" {
#include
"uhd_c_api.h"
}
#if UHD_VERSION < 31100
static
void
(
*
handler
)(
const
char
*
);
void
translate_handler
(
uhd
::
msg
::
type_t
type
,
const
std
::
string
&
msg
)
...
...
@@ -16,11 +17,14 @@ void translate_handler(uhd::msg::type_t type, const std::string & msg)
if
(
handler
)
handler
(
msg
.
c_str
());
}
#endif
void
rf_uhd_register_msg_handler_c
(
void
(
*
new_handler
)(
const
char
*
))
{
#if UHD_VERSION < 31100
handler
=
new_handler
;
uhd
::
msg
::
register_handler
(
translate_handler
);
#endif
}
void
uhd_tx_metadata_set_time_spec
(
uhd_tx_metadata_handle
*
md
,
time_t
secs
,
double
frac_secs
)
...
...
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