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 <ttsou@vt.edu>
This commit is contained in:
parent
6d34bace87
commit
44aff7de0b
|
@ -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);
|
||||
}
|
||||
|
|
Reference in New Issue