aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/UHDDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/UHDDevice.cpp')
-rw-r--r--Transceiver52M/UHDDevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver52M/UHDDevice.cpp b/Transceiver52M/UHDDevice.cpp
index 95a82b3..9043318 100644
--- a/Transceiver52M/UHDDevice.cpp
+++ b/Transceiver52M/UHDDevice.cpp
@@ -707,9 +707,9 @@ int uhd_device::open(const std::string &args, bool extref)
// Use the first found device
LOG(INFO) << "Using discovered UHD device " << dev_addrs[0].to_string();
try {
- usrp_dev = uhd::usrp::multi_usrp::make(dev_addrs[0]);
+ usrp_dev = uhd::usrp::multi_usrp::make(addr);
} catch(...) {
- LOG(ALERT) << "UHD make failed, device " << dev_addrs[0].to_string();
+ LOG(ALERT) << "UHD make failed, device " << args;
return -1;
}