From 6b39e4b6b22068fa0e9754c585400bd2eda44466 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Mon, 29 Feb 2016 00:31:28 -0500 Subject: [PATCH] Device released before it can be used Per http://stackoverflow.com/questions/26012951/usb4java-usb-error-4-unable-to-open-usb-device --- quickstart/libusb.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart/libusb.html b/quickstart/libusb.html index b5f8b35..3a8e08e 100644 --- a/quickstart/libusb.html +++ b/quickstart/libusb.html @@ -221,7 +221,7 @@

Finding USB devices

finally { // Ensure the allocated device list is freed - LibUsb.freeDeviceList(list, true); + LibUsb.freeDeviceList(list, false); } // Device not found