Commit 75998d02 authored by kortke's avatar kortke
Browse files

fixes for 2 channel RX USRP path



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6434 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent aa0184de
......@@ -292,7 +292,7 @@ int openair0_device_init(openair0_device* device, openair0_config_t *openair0_cf
for(i=0;i<s->usrp->get_rx_num_channels();i++) {
if (i<openair0_cfg[0].rx_num_channels) {
s->usrp->set_rx_rate(openair0_cfg[0].sample_rate,i);
s->usrp->set_rx_bandwidth(openair0_cfg[0].rx_bw);
s->usrp->set_rx_bandwidth(openair0_cfg[0].rx_bw,i);
printf("Setting rx freq/gain on channel %lu/%lu\n",i,s->usrp->get_rx_num_channels());
s->usrp->set_rx_freq(openair0_cfg[0].rx_freq[i],i);
s->usrp->set_rx_gain(openair0_cfg[0].rx_gain[i],i);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment