aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2013-11-15 09:50:07 -0800
committerMichael West <michael.west@ettus.com>2013-11-15 09:50:07 -0800
commite83a941a9ff6094358602302212aed760341c873 (patch)
treec38adb41c921a3250ec2798a847a95d6adcd19ee /host/lib/transport
parent7641b42a89f009b1c5dc8875eef07c2a90128164 (diff)
downloaduhd-e83a941a9ff6094358602302212aed760341c873.tar.gz
uhd-e83a941a9ff6094358602302212aed760341c873.tar.bz2
uhd-e83a941a9ff6094358602302212aed760341c873.zip
BUG #182: Refactored b2xx_fx3_utils to use files from UHD
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/libusb1_base.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/transport/libusb1_base.cpp b/host/lib/transport/libusb1_base.cpp
index 0ef53db0a..157edc199 100644
--- a/host/lib/transport/libusb1_base.cpp
+++ b/host/lib/transport/libusb1_base.cpp
@@ -274,6 +274,10 @@ public:
return libusb::device_descriptor::make(this->get_device())->get().idProduct;
}
+ bool firmware_loaded() {
+ return (get_manufacturer() == "Ettus Research LLC");
+ }
+
private:
libusb::device::sptr _dev; //always keep a reference to device
};