diff options
author | Marcus Müller <marcus.mueller@ettus.com> | 2015-02-27 19:44:26 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-03-03 14:12:43 -0800 |
commit | 499bcc0238315a2e1f01625d725a67b168acb99f (patch) | |
tree | f059e1e126f7a6817a2e9675f66417ce563439a0 /host/include | |
parent | 963dcaa6a75862aec9ee4924dd88fa0901b39934 (diff) | |
download | uhd-499bcc0238315a2e1f01625d725a67b168acb99f.tar.gz uhd-499bcc0238315a2e1f01625d725a67b168acb99f.tar.bz2 uhd-499bcc0238315a2e1f01625d725a67b168acb99f.zip |
uhd: Fixed: Exception during detection kills device::make
On systems with libusb but not USB, device detection for USB
devices fails (lsusb itself dies with "error -99").
This crashes the device detection process itself.
Also made the documentation for ::make match what it actually does.
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/device.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/include/uhd/device.hpp b/host/include/uhd/device.hpp index 1e88a4138..5ca48f8e9 100644 --- a/host/include/uhd/device.hpp +++ b/host/include/uhd/device.hpp @@ -77,7 +77,9 @@ public: /*! * \brief Create a new device from the device address hint. * - * The make routine will call find and pick one of the results. + * The method will go through the registered device types and pick one of + * the discovered devices. + * * By default, the first result will be used to create a new device. * Use the which parameter as an index into the list of results. * |