diff options
author | Thomas Tsou <tom@tsou.cc> | 2013-10-11 14:55:31 -0400 |
---|---|---|
committer | Thomas Tsou <tom@tsou.cc> | 2013-10-18 13:10:17 -0400 |
commit | c064124429890393ee9a447990bc861840d73803 (patch) | |
tree | b5ac147e2b743ff0959a0e8948940e5e45e2d31c /Transceiver52M/USRPDevice.cpp | |
parent | 69d14c9a14c1e9f9ae558e5843ef23195f56f04b (diff) |
Transceiver52M: Remove support for ancient libusrp versions
Current functionality with these old versions is questionable.
There is no reason to use any version of GNU Radio / libusrp older
than 3.3. Version 3.4.2 is the only recommended version for USRP1
users.
Non-USRP1 users must use UHD driver from Ettus Research.
Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/USRPDevice.cpp')
-rw-r--r-- | Transceiver52M/USRPDevice.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Transceiver52M/USRPDevice.cpp b/Transceiver52M/USRPDevice.cpp index 275f1c4..3a61e64 100644 --- a/Transceiver52M/USRPDevice.cpp +++ b/Transceiver52M/USRPDevice.cpp @@ -105,11 +105,9 @@ int USRPDevice::open(const std::string &) 0, decimRate * sps, 1, -1, usrp_standard_rx::FPGA_MODE_NORMAL, 1024, 16 * 8, rbf)); -#ifdef HAVE_LIBUSRP_3_2 m_uRx->set_fpga_master_clock_freq(masterClockRate); -#endif } - + catch(...) { LOG(ALERT) << "make failed on Rx"; m_uRx.reset(); @@ -129,11 +127,9 @@ int USRPDevice::open(const std::string &) m_uTx = usrp_standard_tx_sptr(usrp_standard_tx::make( 0, decimRate * 2, 1, -1, 1024, 16 * 8, rbf)); -#ifdef HAVE_LIBUSRP_3_2 m_uTx->set_fpga_master_clock_freq(masterClockRate); -#endif } - + catch(...) { LOG(ALERT) << "make failed on Tx"; m_uTx.reset(); |