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...";
|
LOG(INFO) << "creating USRP device...";
|
||||||
|
|
||||||
// Use the first available USRP E100
|
// Allow all UHD devices
|
||||||
uhd::device_addr_t dev_addr("type=usrp-e");
|
uhd::device_addr_t dev_addr("");
|
||||||
try {
|
try {
|
||||||
usrp_dev = uhd::usrp::single_usrp::make(dev_addr);
|
usrp_dev = uhd::usrp::single_usrp::make(dev_addr);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue