aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_impl.cpp
diff options
context:
space:
mode:
authorThomas Tsou <ttsou@vt.edu>2010-08-27 16:20:15 -0700
committerThomas Tsou <ttsou@vt.edu>2010-08-27 16:20:15 -0700
commitec8005e3d5d1a80f89f5cfbaa8e1cdadf2d14db6 (patch)
tree41b7303b667c98e8eddf4d470b5be41babc3da15 /host/lib/usrp/usrp1/usrp1_impl.cpp
parent7f8c73faa22aaf2a381193d9f460857785e45023 (diff)
downloaduhd-ec8005e3d5d1a80f89f5cfbaa8e1cdadf2d14db6.tar.gz
uhd-ec8005e3d5d1a80f89f5cfbaa8e1cdadf2d14db6.tar.bz2
uhd-ec8005e3d5d1a80f89f5cfbaa8e1cdadf2d14db6.zip
usrp1: Wait for USB device renumeration only when necessary
Waiting for FX2 renumeration is only needed after a firmware load so move it out of the main device discovery loop and into the firmware load itself.
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_impl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.cpp b/host/lib/usrp/usrp1/usrp1_impl.cpp
index d37eec566..3c3306525 100644
--- a/host/lib/usrp/usrp1/usrp1_impl.cpp
+++ b/host/lib/usrp/usrp1/usrp1_impl.cpp
@@ -69,9 +69,6 @@ static device_addrs_t usrp1_find(const device_addr_t &hint)
}
}
- //wait for things to settle
- boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
-
//get descriptors again with serial number
device_list = usb_device_handle::get_device_list();