From 6a3e39534bac7b16a44e668d31f80dcaf5cc86e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= Date: Thu, 17 Sep 2015 15:58:35 +0200 Subject: [PATCH 1/2] examples: Added UHD library dir to CMakeLists.txt without, linkage fails if UHD shared library is not installed in the default location on Fedora 22. --- srslte/examples/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srslte/examples/CMakeLists.txt b/srslte/examples/CMakeLists.txt index 24f0e37a1..2b7a7696f 100644 --- a/srslte/examples/CMakeLists.txt +++ b/srslte/examples/CMakeLists.txt @@ -19,6 +19,9 @@ # and at http://www.gnu.org/licenses/. # +IF(UHD_FOUND) + LINK_DIRECTORIES(${UHD_LIBRARY_DIRS}) +ENDIF(UHD_FOUND) ################################################################# # EXAMPLES From 4a08a32417fce7c03b6fc867ee4bfa5329071753 Mon Sep 17 00:00:00 2001 From: ismagom Date: Tue, 22 Sep 2015 17:35:00 +0100 Subject: [PATCH 2/2] Fixed PDSCH eNodeB example transmitting unpacked bits --- srslte/examples/pdsch_enodeb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srslte/examples/pdsch_enodeb.c b/srslte/examples/pdsch_enodeb.c index f1c4a1211..eb7dc0625 100644 --- a/srslte/examples/pdsch_enodeb.c +++ b/srslte/examples/pdsch_enodeb.c @@ -559,8 +559,8 @@ int main(int argc, char **argv) { } } else { INFO("SF: %d, Generating %d random bits\n", sf_idx, pdsch_cfg.grant.mcs.tbs); - for (i=0;i