Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
cbfc6295
Commit
cbfc6295
authored
Feb 03, 2020
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation error for Lime driver
parent
adbbe714
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
openair1/PHY/TOOLS/tools_defs.h
openair1/PHY/TOOLS/tools_defs.h
+8
-0
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
+2
-1
No files found.
openair1/PHY/TOOLS/tools_defs.h
View file @
cbfc6295
...
@@ -29,6 +29,10 @@
...
@@ -29,6 +29,10 @@
*/
*/
#ifdef __cplusplus
extern
"C"
{
#endif
#include <stdint.h>
#include <stdint.h>
#include "PHY/sse_intrin.h"
#include "PHY/sse_intrin.h"
...
@@ -428,4 +432,8 @@ double interp(double x, double *xs, double *ys, int count);
...
@@ -428,4 +432,8 @@ double interp(double x, double *xs, double *ys, int count);
int
write_output
(
const
char
*
fname
,
const
char
*
vname
,
void
*
data
,
int
length
,
int
dec
,
char
format
);
int
write_output
(
const
char
*
fname
,
const
char
*
vname
,
void
*
data
,
int
length
,
int
dec
,
char
format
);
#ifdef __cplusplus
}
#endif
#endif //__PHY_TOOLS_DEFS__H__
#endif //__PHY_TOOLS_DEFS__H__
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
View file @
cbfc6295
...
@@ -178,7 +178,7 @@ int trx_lms_start(openair0_device *device){
...
@@ -178,7 +178,7 @@ int trx_lms_start(openair0_device *device){
}
}
LMS_Init
(
lms_device
);
LMS_Init
(
lms_device
);
LMS_EnableCa
libCa
che
(
lms_device
,
false
);
LMS_EnableCache
(
lms_device
,
false
);
if
(
LMS_LoadConfig
(
lms_device
,
device
->
openair0_cfg
[
0
].
configFilename
)
!=
0
)
if
(
LMS_LoadConfig
(
lms_device
,
device
->
openair0_cfg
[
0
].
configFilename
)
!=
0
)
{
{
...
@@ -277,6 +277,7 @@ int trx_lms_stop(openair0_device *device) {
...
@@ -277,6 +277,7 @@ int trx_lms_stop(openair0_device *device) {
LMS_DestroyStream
(
lms_device
,
&
rx_stream
);
LMS_DestroyStream
(
lms_device
,
&
rx_stream
);
LMS_DestroyStream
(
lms_device
,
&
tx_stream
);
LMS_DestroyStream
(
lms_device
,
&
tx_stream
);
LMS_Close
(
lms_device
);
LMS_Close
(
lms_device
);
return
0
;
}
}
/*! \brief Set frequencies (TX/RX)
/*! \brief Set frequencies (TX/RX)
...
...
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