small fix for threadPool initialization when we use the full pipelining mode (RU_L1_TRX_SPLIT)

This commit is contained in:
Raymond Knopp
2020-06-30 08:08:33 +02:00
parent b675c0c7b1
commit c21df3b6f3
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -1251,7 +1251,7 @@ extern "C" {
LOG_I(HW,"Actual time source %s...\n",s->usrp->get_time_source(0).c_str());
sleep(1);
// create tx & rx streamer
uhd::stream_args_t stream_args_rx("sc16", "sc16");
uhd::stream_args_t stream_args_rx("sc12", "sc12");
int samples=openair0_cfg[0].sample_rate;
int max=s->usrp->get_rx_stream(stream_args_rx)->get_max_num_samps();
samples/=10000;
@@ -1268,7 +1268,7 @@ extern "C" {
stream_args_rx.channels.push_back(i);
s->rx_stream = s->usrp->get_rx_stream(stream_args_rx);
uhd::stream_args_t stream_args_tx("sc16", "sc16");
uhd::stream_args_t stream_args_tx("sc12", "sc12");
for (int i = 0; i<openair0_cfg[0].tx_num_channels; i++)
stream_args_tx.channels.push_back(i);