gary-rowe / hid4java

A cross-platform Java Native Access (JNA) wrapper for the libusb/hidapi library. Works out of the box on Windows/Mac/Linux.
MIT License
229 stars 71 forks source link

#41: Fixed sending of a report that is 1-byte long #46

Closed marek-trmac closed 7 years ago

marek-trmac commented 8 years ago

41: Fixed sending of a report that is 1-byte long

(fixed condition len >1 to len >=1 in HidApi.write method)

gary-rowe commented 7 years ago

Thanks Marek. I've finally managed to get some time to work on the library.

gary-rowe commented 7 years ago

This fixes #51