Merge branch 'master' into ul_improve

This commit is contained in:
ismagom 2015-09-22 17:35:24 +01:00
commit 7e182e2eac
2 changed files with 5 additions and 2 deletions

View File

@ -19,6 +19,9 @@
# and at http://www.gnu.org/licenses/.
#
IF(UHD_FOUND)
LINK_DIRECTORIES(${UHD_LIBRARY_DIRS})
ENDIF(UHD_FOUND)
#################################################################
# EXAMPLES

View File

@ -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<pdsch_cfg.grant.mcs.tbs;i++) {
data[i] = rand()%2;
for (i=0;i<pdsch_cfg.grant.mcs.tbs/8;i++) {
data[i] = rand()%256;
}
send_data = true;
}