From 44aff7de0b692540ec4be1e08af6a1d26a69294e Mon Sep 17 00:00:00 2001 From: Thomas Tsou Date: Fri, 8 Jul 2011 17:34:08 -0700 Subject: [PATCH] uhd: remove uhd type argument UHD recently modified the E100 type name from 'usrp-e' to 'e100' causing the device make to fail. Remove device type checking to keep things working with the older and newer names. Signed-off-by: Thomas Tsou --- public-trunk/Transceiver52M/UHDDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public-trunk/Transceiver52M/UHDDevice.cpp b/public-trunk/Transceiver52M/UHDDevice.cpp index 88e9814..dc265cb 100644 --- a/public-trunk/Transceiver52M/UHDDevice.cpp +++ b/public-trunk/Transceiver52M/UHDDevice.cpp @@ -334,8 +334,8 @@ bool uhd_device::open() { LOG(INFO) << "creating USRP device..."; - // Use the first available USRP E100 - uhd::device_addr_t dev_addr("type=usrp-e"); + // Allow all UHD devices + uhd::device_addr_t dev_addr(""); try { usrp_dev = uhd::usrp::single_usrp::make(dev_addr); }