laforge
/
openbts-osmo
Archived
1
0
Fork 0

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:
Thomas Tsou 2011-07-08 17:34:08 -07:00
parent 6d34bace87
commit 44aff7de0b
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}