analogdevicesinc / libsmu

Software abstractions for the analog signal exploration tools.
http://analogdevicesinc.github.io/libsmu/
BSD 3-Clause "New" or "Revised" License
31 stars 31 forks source link

Libusb bug workaround. #135

Closed cristi-iacob closed 4 years ago

cristi-iacob commented 4 years ago

Implemented a workaround for the bug from libusb. On Windows, libusb was not anymore able to open e device's interface for the second time. To solve this, we save the libusb handle received by the device on the first open and use it on further open tries.

Signed-off-by: Cristi Iacob Cristian.Iacob@analog.com