From 499bcc0238315a2e1f01625d725a67b168acb99f Mon Sep 17 00:00:00 2001 From: Marcus Müller Date: Fri, 27 Feb 2015 19:44:26 +0100 Subject: 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. --- host/include/uhd/device.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/include') 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. * -- cgit v1.2.3