UHDDevice: Fix setup failure with LimeSuite > 18.04.1

Fixes: https://github.com/myriadrf/LimeSuite/issues/184

Change-Id: I48ead8b8996981263297b66c0c7d3d0972261316
This commit is contained in:
Pau Espin 2018-05-08 20:49:00 +02:00
parent e9424e241f
commit 55df1e43e3
1 changed files with 2 additions and 2 deletions

View File

@ -732,8 +732,8 @@ int uhd_device::open(const std::string &args, int ref, bool swap_channels)
}
} else if (dev_type == LIMESDR) {
for (size_t i = 0; i < chans; i++) {
usrp_dev->set_tx_bandwidth(5e6, i);
usrp_dev->set_rx_bandwidth(5e6, i);
usrp_dev->set_tx_bandwidth(5.2e6, i);
usrp_dev->set_rx_bandwidth(1.4001e6, i);
}
}